Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unique ID for the machine.
Message
Information générale
Forum:
Windows
Catégorie:
Autre
Divers
Thread ID:
00985632
Message ID:
00985641
Vues:
34
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform