使用wmi,
system.management命名空间。
system.management命名空间。
解决方案 »
- C# winform 如何在子窗体中让窗体Treeview加载节点
- 同一表中的数据写入问题
- 求一个正则表达式
- winform中使用webbrowser打开内嵌flvplayer-progressive.swf的html问题
- 网站 磁盘配额问题
- 关于在DataGrid_A里的模板列里加入DataGrid_B后 DataGrid_B能否实现分页?
- 出学C#道路的坎坷
- 关于UTS数据同步的问题,求大神解答...嗯...标题要长..才有大神愿意看 = = ,谢谢各位大神了(回答了加分!!!来者就有分送!!!).
- c#类型转换问题
- 我要订婚了!
- 能否将WinForm程序在Alt-Tab切换列表中隐藏?
- 精品JS脚本下载:XMLTree2.1,不下可要后悔的
FileTime and WIN32_FIND_DATA and so on ;
alternatively , the class of Directory in .NET also has these functions that you want,
Directory.GetLogicalDrives()
.GetDirectories()
.GetFiles()
Directory.GetDirectories()
Directory.GetFiles()