Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我们将手机、相机等设备连接到 PC 时。通常设备中的文件路径显示为
This PC\XPERIA S\Internal Storage
如何使用 C# 访问此目录中的文件?
String dirName= @"This PC\XPERIA S\Internal Storage"; string[] files = Directory.GetFiles(dirName);
这就是我想做的。上面的代码不起作用。我添加了这个是为了让你有个想法。