C# 对Windows Management Instrumentation的使用流程
来源:互联网 发布:住旅馆软件 编辑:程序博客网 时间:2024/04/29 11:54
http://czchao2003.blog.163.com/blog/static/88763413200871492333384/
1、 什么是WMI
WMI是英文Windows Management Instrumentation的简写,它的功能主要是:访问本地主机的一些信息和服务,可以管理远程计算机(当然你必须要拥有足够的权限),比如:重启,关机,关闭进程,创建进程等。2、 如何用WMI获得本地磁盘的信息?
首先要在VS.NET中创建一个项目,然后在添加引用中引用一个.net的装配件:System.Management.dll,这样你的项目才能使用WMI。
3. 通过定义完善的架构向客户端和应用程序无缝地提供了数据和事件以及配置系统的能力。在 .NET 框架中,System.Management 命名空间提供了用于遍历 WMI 架构的公共类。
除了 .NET 框架,还需要在计算机上安装 WMI 才能使用该命名空间中的管理功能。如果使用的是 Windows Millennium Edition、Windows 2000 或 Windows XP,那么已经安装了 WMI。否则,将需要从 MSDN 下载 WMI。
4. 下载WMI:
http://msdn.microsoft.com/en-US/windows/desktop/ff851942.aspx
0 0
- C# 对Windows Management Instrumentation的使用流程
- Windows Management Instrumentation
- 8. Windows Management Instrumentation
- Windows Management Instrumentation (WMI)
- Windows Management Instrumentation(WMI)
- WMI (Windows Management Instrumentation) - Secrets
- WMI 编程 (Windows Management Instrumentation)
- Windows Management Instrumentation无法启动
- Windows Management Instrumentation (Windows 管理规范)
- Windows Management Instrumentation 命令行(MSDN)(WMIC)
- Windows Management Instrumentation(WMI) 之 Win32 类
- Windows Management Instrumentation服务无法启动 解决办法
- Windows Management Instrumentation(WMI) 之 Win32 类
- Windows Management Instrumentation(WMI) 之 Win32 类
- Windows WMIC命令详解 (Windows Management Instrumentation Command-line)
- Windows WMIC命令详解 (Windows Management Instrumentation Command-line)
- Windows WMIC命令详解 (Windows Management Instrumentation Command-line)
- Windows2000 服务器端应用程序开发设计指南-Windows Management Instrumentation
- JQuery:在input中只能输入数字,并且不能复制粘贴,不能切换输入法
- 更新Android5.0
- 百度地图画轨迹连接线
- 接口回调的原理:接口变量 调用 被类实现的接口的方法
- 传递消息的方式有四个取值
- C# 对Windows Management Instrumentation的使用流程
- mac上配置sublime test2环境
- Android--Activity的四种启动模式和onNewIntent()
- 内存堆栈
- 大树与小孩
- nodejs的express 和compoud是如何接收前端传递的值
- 模拟题 宠物之战(时间限制:1s;空间限制:256MB)
- opencv在vs2012下重编译详细教程——解决按f11进入不了源代码
- *(leetcode) Remove Element