Vb6 Get Serial Number

broken image

Then you execute the query by calling the Get() method of the ManagementObjectSearcher object, returns a collection of ManagementObject objects. First, create a ManagementObjectSearcher object that will hold the SQL query. These classes reside on assembly System.Management that you can reference it into your project. NET Framework includes a various classes for dealing with WMI. And you can query it using SQL statements (really!). WMI has amazing design It’s implemented like a large database that contains several tables and types.

broken image

It’s designed to help your system, applications, and networks. WMI was firstly introduced part of Windows 2000.