Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
309 views
in Technique[技术] by (71.8m points)

c# - Access Network Share from Windows 10 IoT for Raspberry Pi

I am new to Windows 10 IoT for Raspberry Pi. I try to access a Network Share and save a file but so far i had no luck. I tried hours and was searching the web but could not find a solution. Maybe someone did it already Would be very happy for help Thomas

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

As far as I know, this is not natively supported by Windows IoT.

The closest term I can think of is KnownFolders, but network shared folders don't seem to be included.

However, the workaround you can try is using FilePicker, when browsing the filer, type the network shared folder address in the address far, see if you will get any AccessViolation exception when reading/writing files.

Update, FilePicker does not seem to work either!

Also, I've tried node.js to access network shared smb files, still does not work with Windows IoT.

So far, the answer seems impossible to me.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...