2023年6月7日

C# 获取本地磁盘驱动器、U盘、共享目录所在驱动器的大小

摘要: string filePathRoot = Path.GetPathRoot(fileName); if (!filePathRoot.EndsWith("\\")) { filePathRoot = filePathRoot + "\\"; } DriveType driveType = (Dri 阅读全文

posted @ 2023-06-07 15:24 wu.g.q 阅读(246) 评论(0) 推荐(0) 编辑

导航