Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get Mac Address & Specs
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Get Mac Address & Specs
Miscellaneous
Thread ID:
00652249
Message ID:
00652249
Views:
64
Hi, I've got a couple questions...

Quetsion #1: Does anyone know the basic specs for a "mac address", such as maximum length, is there any positions where it always contains letters and/or numbers, does case make any difference, and the like?

Question #2: Is there any way to get the net card's manufacturer name, model and/or serial number so a positive identification can be made, even if the card is dead?

Quetsion #3: How can I get a long string of numbers converted to a number without the scientific notation stuff? Also the VAL() function is only good thru 16 characters, and what I'm trying to do is converting the mac address to all numbers by using the ASC() function on each of the characters and concatnating them together to make one long number as in "1245854526951254124477581254698214587452145874521". (If the mac address has 12 characters and each character converts to a 3 digit character, then thats 36 characters.) Next I need to do some math on it so I can create a key string, and thats where the problem comes in. I would like to continue concatnating the ASC() of the DISKSPACE("C:",1)+DISKSPACE("D:",1) command to the mac address, to really make a unique string that matches only 1 computer in the world. And if the netcard and/or harddrive C: or D: partitions configurations change, a new key would be needed.

Thanks,
Stanley
Next
Reply
Map
View

Click here to load this message in the networking platform