Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To capture unique identification in server.
Message
De
13/07/2004 12:02:11
 
 
À
13/07/2004 11:31:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00923767
Message ID:
00923803
Vues:
25
>Hi all !!
>
>Someone would know tell me one way of to give something in server and this something to be unique by server ?
>
>The preference that not be serial number HD.
>
>Thanks by attencion of all.
>
>Lázaro Santos.


You can use SYS(0) like this to get the machine name:
LTRIM( LEFT( SYS( 0), AT( '#', SYS( 0)) -1))

Once you have this you can get the IP address of your machine. See an example here:
http://fox.wikis.com/wc.dll?Wiki~HowtoPingRemoteSite~VFP

Or you can get the MAC Address of the network card.

Mace
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform