从 Windows 10 IoT for Raspberry Pi 访问网络共享 [英] Access Network Share from Windows 10 IoT for Raspberry Pi

查看:76
本文介绍了从 Windows 10 IoT for Raspberry Pi 访问网络共享的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是适用于 Raspberry Pi 的 Windows 10 IoT 的新手.我尝试访问网络共享并保存文件,但到目前为止我没有运气.我尝试了几个小时并在网上搜索,但找不到解决方案.也许有人已经做到了很乐意帮忙托马斯

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

推荐答案

据我所知,Windows IoT 本身不支持此功能.

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

我能想到的最接近的术语是 KnownFolders,但似乎没有包含网络共享文件夹.

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

但是,您可以尝试的解决方法是使用 FilePicker,在浏览文件管理器的时候,在地址中输入网络共享文件夹地址,看看读写文件时会不会出现AccessViolation异常.

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.

更新,FilePicker 似乎也不起作用!

Update, FilePicker does not seem to work either!

此外,我已经尝试使用 node.js 访问网络共享的 smb 文件,但仍然不适用于 Windows IoT.

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.

这篇关于从 Windows 10 IoT for Raspberry Pi 访问网络共享的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆