访问 MP3 播放器/USB 存储设备
我正在尝试访问 USB 存储设备,但是该设备虽然出现在计算机/驱动器部分中,但未分配驱动器盘符,因此当我按照 如何发现 USB 存储设备和可写 CD/DVD 驱动器 (C#),它没有出现。 我从驱动器上的文件(属性)中获取了“位置”,它以 COMPUTER/Q1/Datacasts
的形式出现,但是当我将其传递给 FileInfo 对象(网络)时,这不起作用找不到驱动器),我有点不知如何继续
I'm trying to access a USB Storage device, however the device although appearing in the computer / Drives section, is not allocated a Drive letter, thus when I iterate through the attached drives as described in How to discover USB storage devices and writable CD/DVD drives (C#), it does not appear. I've taken the "Location" from a file on the drive (properties) and it comes up as COMPUTER/Q1/Datacasts
but this doesn't work when I pass it to the FileInfo Object (network drive cannot be found), and I'm at a bit of a loss at which way to proceed
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
经过更多调查后,我发现它需要是 Windows 便携式设备,并从 MSDN 博客< /a>.
After a little more investigation I discovered it needed to be a windows Portable Device, and got some hints from the MSDN blog.