Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get Network Adapter Address (MAC?)
Message
De
21/02/2001 19:47:11
 
 
À
21/02/2001 18:48:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00477977
Message ID:
00478243
Vues:
32
>Thank Al,
>It looks like the GUID idea will work for my situation. On another forum someone suggested doing a IPCONFIG /renew (or /renew_all for Win98) to recogize any change to the NIC before checking for the "current" address, and this seems to correct for the ghosted situation.
>
>Rick

IIRC IPCONFIG /renew etc. only works on machines that are running a DHCP client ("getting IP addresses 'automatically'"). IOW if you try it on a machine with a static IP address you get some sort of error message.

On NT 3.51 I get:

Error: No adapters bound to TCP/IP are enabled for DHCP
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
Répondre
Fil
Voir

Click here to load this message in the networking platform