Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unique ID for the machine.
Message
General information
Forum:
Windows
Category:
Other
Miscellaneous
Thread ID:
00985632
Message ID:
00985641
Views:
35
Hello Greg,

you might use the MacAddress of the network card... this is unique and specific to a machine.

in .NET
                Dim query As System.Management.ManagementObjectSearcher = New System.Management.ManagementObjectSearcher("SELECT * FROM Win32_NetworkAdapterConfiguration where MacAddress is not null and IPEnabled = true")
                Dim queryCollection As System.Management.ManagementObjectCollection = query.Get()
                Dim mo As System.Management.ManagementObject

                For Each mo In queryCollection
                    Return mo("MacAddress").ToString
                    Exit For
                Next
Hope that helps
Alex
Alexandre Boudreault-Ferland
Chief Technology Officer
AZUR Technologies
http://www.xicommunity.ca
http://www.xiazur.com
http://endfunction.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform