434 questions
[UWP] How to authenticate a UNC network share
Ben Vincent
0
Reputation points
I have a UWP app that grabs photos from a camera, I want to upload these to a network share. That share requires authentication. I have added the appropriate capabilities to the app, and when running on Win11 it works, but when deployed to Windows IOT it fails.
I get a variety of errors depending on whether I try IP address, name or a mapped drive.
The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
Error HRESULT E_FAIL has been returned from a call to a COM component.
StorageFolder networkFolderToTest = await StorageFolder.GetFolderFromPathAsync(@"\\192.168.1.1\DropFolder");
Windows for business Windows for IoT
Sign in to answer