Get system information [RESOLVED]
Hey all,
Is there a command/set of commands to get information about the system? Such as the BIOS' unique serial number / a network adaptor's MAC address / Windows Serial code/product code / that sort of thing? I'm trying to get the program to call up a couple of unique values to tie the program to a given system.
Re: Get system information
Download Scriptomatic 2 from MS. It uses WMI and can get all the system info that you want.
http://www.microsoft.com/technet/scr.../scripto2.mspx
Re: Get system information
Here is a free OCX, that gives info about hardware, like HD Unique number.
LINK
Re: Get system information
Ahh, that seems handy, thanks :)
So, the code that it generates in that main window, How do I use it? Just paste it straight into VB?
EDIT: Jcis, Nice app also! :)
Re: Get system information
It generates WMI code but with a little tweaking it runs quite well in VB. Change the Echo's to MsgBox's and if you use Option Explicit then declare the variables as Objects or Variants.
Re: Get system information
Re: Get system information [RESOLVED]
Windows Management Instrumentation. :) You can add a reference in your Project > References menu.
Re: Get system information [RESOLVED]
You can also use WScript.exe and CScript.exe to run generated WMI scripts.