如何生成用于访问 WMI 的 C# 类?
			
			4209 次
		
3 回答
            7        
        
		
更简单的方法(Visual Studio 用户):
将 WMI 类添加到 VisualStudio 的服务器资源管理器。例如
 让 Visual Studio 为您调用MgmtClassGen.exe。例如

@VanOrman 为 MgmtClassGen.exe 提供了其他参考。
于 2013-09-11T19:35:28.737   回答
    
    
            2        
        
		
您可以尝试 WMICodeCreator 它生成 vbscript jscript vb.net 和 c# 代码 从 Microsoft 下载 WMICodeCreator
于 2008-09-04T19:53:49.850   回答