Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To capture unique identification in server.
Message
From
13/07/2004 12:02:11
 
 
To
13/07/2004 11:31:38
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00923767
Message ID:
00923803
Views:
24
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform