Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get Network Adapter Address (MAC?)
Message
De
21/02/2001 16:10:42
 
 
À
21/02/2001 16:08:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00477977
Message ID:
00478155
Vues:
32
>>I've been unable to find any way to reliably get the current Adapter address. While under NT I find it appears in the registry (although it's not straight forward), the technique doesn't work under Win 95/98.
>>e.g.
>>[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\N1001\Parameters]
>>"ProposeQNFTAddress"="0008C7DF8B6E"
>>
>>While I could run IPCONFIG.EXE /ALL > c:\IPCONFIG.TXT in a DOS window and parse out the information, this seems like a quite inelegant solution, and it's obviously getting it from somewhere.
>>
>>Rick
>
>Thread #281723 had a fairly comprehensive discussion on this topic.

A SWAG, this is something the WSH might help you with...

Ed, George, ...?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform