WMICrawler

所属分类:Windows编程
开发工具:C#
文件大小:473KB
下载次数:1
上传日期:2013-05-28 01:22:29
上 传 者idaaa222
说明:  这个程序需要一个硬件清单/ os的计算机网络与WMI安装,和写信息到数据库。首先从命令行运行它以/收集开关,然后你就可以查看信息,刚刚开始这个项目,没有命令行参数。删除域从数据库或电脑,重启或关闭计算机。程序使用强类型的WMI类(参见readme文件详情)。演示了几个概念,包括事件、代表、数据库、WNetEnumResource功能,等等。
(This program requires a hardware inventory/os computer network with WMI installation, and write information to the database. First, run it from the command line with/collecting switch, and then you can view the information, just started this project, there is no command-line arguments. Delete a domain from a database or computer, restart, or shut down the computer. Program uses a strongly typed WMI classes (see the readme file details). Demonstrates several concepts, including the event, representatives, database, WNetEnumResource features, and more.)

文件列表:
About.cs (6168, 2002-12-16)
About.resx (13814, 2002-12-16)
AssemblyInfo.cs (2426, 2001-07-25)
bios.cs (50861, 2002-12-01)
cdromdrive.cs (81719, 2002-12-01)
computersystem.cs (94062, 2002-12-01)
db.cs (5495, 2002-12-18)
DBConnect (0, 2003-07-15)
DBConnect\AssemblyInfo.cs (2426, 2002-12-26)
DBConnect\attrib.cs (1220, 2002-02-07)
DBConnect\DBConnect.csproj (3816, 2002-12-26)
DBConnect\DBConnect.csproj.user (1773, 2002-12-27)
DBConnect\DBConnect.sln (918, 2002-10-16)
DBConnect\DBConnect.suo (9216, 2002-11-27)
DBConnect\DBConnectString.ini (4355, 2000-10-20)
DBConnect\OLEcn.cs (3687, 2002-12-18)
DBConnect\OLEDBAccess.cs (11958, 2002-12-18)
diskdrive.cs (85799, 2002-12-01)
diskdrive.resx (1733, 2001-09-20)
diskpartition.cs (69017, 2002-12-03)
diskpartition.resx (1733, 2001-09-20)
Explorer.cs (37970, 2002-12-18)
Explorer.resx (19438, 2002-12-18)
idecontroller.cs (59157, 2002-12-01)
images (0, 2003-07-15)
images\A0.ICO (766, 1999-10-14)
logicaldisk.cs (80417, 2002-12-01)
logicaldisktopartition.cs (27498, 2002-12-04)
motherboarddevice.cs (53959, 2002-12-08)
NETAPI (0, 2003-07-15)
NETAPI\AssemblyInfo.cs (2437, 2002-12-26)
NETAPI\dllimports.cs (1420, 2002-12-27)
NETAPI\enums.cs (5750, 2002-12-27)
NETAPI\eventargs.cs (497, 2002-11-24)
NETAPI\NETAPI.cs (2242, 2002-12-27)
NETAPI\NETAPI.csproj (4300, 2002-12-26)
NETAPI\NETAPI.csproj.user (1773, 2002-12-27)
NETAPI\NETAPI.sln (1330, 2002-11-23)
NETAPI\NETAPI.suo (10240, 2002-12-26)
NETAPI\structs.cs (775, 2002-12-27)
... ...

WMI Crawler 1.00 ~~~~~~~~~~~~~~~~ Written by Eugene E. Zhukovsky [ezhukovsky@attbi.com] WMI is a powerful tool, and this application should give you a good idea. Only information of interest to me is gathered, but it would be very easy to extend this app to include other WMI classes. I wanted not just a list of devices on a particular computer, but how they are connected to each other: which CDROM is connected to which controller and on what channel, how many memory modules are present and memory slots they are in. The app has 2 modes: console and GUI. To start in console mode, just pass /gather command-line parameter. In console mode it allows to: - Enumerate ALL computers on your network - Gather WMI information for each computer - Save the information to the database In GUI mode it allows to: - View the information for all computers currently on the network - View the information for all computers NOT currently on the network - delete domains/computers from the database - Reboot or Shut down selected computer Computers not currently connected to the network will be presented with a grayed out icon next to them. This app is built using information from the WMI SDK. I'm using strongly typed WMI classes. You can Use the MgmtClassGen.exe utility in the .NET SDK to generate them, or Server Explorer Management Extension (downloadable from http://www.microsoft.com/downloads/release.asp?ReleaseID=31155) I'm interested in your comments and suggestions for improvement. Please email me at the above address. REQUIREMENTS ===== - Z3.MDB database file should be in the application directory To Do ===== - Add other WMI methods

近期下载者

相关文件


收藏者