Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to read the BIOS number?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01019447
Message ID:
01132841
Vues:
14
Juan,

Depending on your rights, this might be a little more difficult. First, ConnectServer accepts parameters to connect to a different computer, so instead of:
loWMI        = loLocator.ConnectServer()
You can do something like:
loWMI        = loLocator.ConnectServer('\\Machine', ['root\CIMV2'], ['User'], ['password'])
If you ('User') have enough rights (Like domain administrator <g>) connect server should work, otherwise it might be trickier


>Hugo;
>
>Thanks very much for your reply, it works great for the computer where it is running.
>
>I have to obtain the BIOS info of a computer which I have a mapped drive letter to, e.g.:
>
>"Z:\" is mapped pointing to \\SERVER\DATA\
>or I could also send the path "\\SERVER\DATA\"
>
>The question will be if I can use this same rutine you sent me (parsing a parameter) to obtain that other computer's BIOS info?
>
>Again thanks very much.
"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