2016-06-28 48 views
2

我想访问一些文件的覆盆子pi2与Windows 10 iot核心。 我想知道如何使用它的地址?在windows中有 有驱动器和目录,可以使用c:\a\b\c.txt这样的地址访问。 ms-iot文件系统和地址是如何组织的? 我也搜索了存储卡,但我找不到我确定存在的文件。该文件的图片语法从摄像头捕获和贝洛奥里藏特码保存在设备上如何访问图像拍摄从网络摄像头覆盆子pi窗口10 iot

takePhoto.IsEnabled = false; 
      recordVideo.IsEnabled = false; 
      captureImage.Source = null; 

      photoFile = await KnownFolders.PicturesLibrary.CreateFileAsync(
       PHOTO_FILE_NAME, CreationCollisionOption.GenerateUniqueName); 
      ImageEncodingProperties imageProperties = ImageEncodingProperties.CreateJpeg(); 
      await mediaCapture.CapturePhotoToStorageFileAsync(imageProperties, photoFile); 
      takePhoto.IsEnabled = true; 
      status.Text = photoFile.Path; 

      IRandomAccessStream photoStream = await photoFile.OpenReadAsync(); 
      BitmapImage bitmap = new BitmapImage(); 
      bitmap.SetSource(photoStream); 
      captureImage.Source = bitmap; 

我用在status.text路径来访问文件,但没有文件提前

感谢

回答

3

您可以尝试通过网络上的UNC路径访问本地文件系统。由于它是Windows操作系统,因此它具有默认的管理员共享。

例如:\\192.168.1.123\C$

这将然后提示所述装置的管理员用户详细信息。

还检查了这篇博客的方式通过物联网信息中心获取到它:http://www.purplefrogsystems.com/paul/2016/06/controlling-your-windows-10-iot-core-device/

+0

谢谢\\ 192.168.1.123 \ C $是有帮助的地址 – AliSafari186