Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
API Call To Retreive Hard Drive Serial #
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00941105
Message ID:
00941113
Vues:
15
>Need the API Call To Retreive Hard Drive Serial #? Anyone
>know what thread # that's in?
>
>Thanks

The latest thread about this I remember is Message #037726, if you want to try the function I posted, beware I found it does not work properly if user is not passed, you must replace:
loWMIService = loWBEMLocator.ConnectServer(lcComputer, '\root\cimv2', lcDomain + "\" + lcUser, lcPassword)
with
if Empty(lcUser)
	loWMIService	= loWBEMLocator.ConnectServer(lcComputer, '\root\cimv2')
else
	loWMIService	= loWBEMLocator.ConnectServer(lcComputer, '\root\cimv2', lcDomain + "\" + lcUser, lcPassword)
endif
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform