Source language: Translate to:

MAC Address of Network Card

General questions about NeoBook

Moderator: Neosoft Support

MAC Address of Network Card

Postby ajhunt » Fri Apr 07, 2017 12:04 am

Hi all, may I ask if anyone knows how to find the MAC address of the network card so that I have an absolute individual bit of information for a system. I have been using the Hard Disk Volume Serial number in the past but three times I have had the same volume serial number on three different systems. I'm looking to get something totally individual on a system so can generate a licence key for that particular system. Is there a better way even. Many thanks for any help and advice. Best regards to all.
ajhunt
 
Posts: 223
Joined: Sat Apr 23, 2005 2:33 pm
Location: United Kingdom

Re: MAC Address of Network Card

Postby ajhunt » Fri Apr 07, 2017 12:21 am

Ok all, I found a way by using the ipconfig /all. Is there a better way - would this work for different windows os in different languages, I'm not too sure?

FileWrite "[PubDir]Get_MacAddr.bat" "1" "ipconfig/all>MacAddr.dat"
Run "[PubDir]Get_MacAddr.bat" "" "RunOnce+Wait+Hidden" "" ""
FileLen "MacAddr.dat" "[FLen]"
Loop "1" "[Flen]" "[LineNum]"
FileRead "[PubDir]MacAddr.dat" "[LineNum]" "[LineData]"
SetVar "[rtInputVar1]" "[LineData]"
rtStringStripSpaces
SetVar "[LineData]" "[rtResult]"
SearchStr "PhysicalAddress" "[LineData]" "[FoundPosn]"
If "[FoundPosn]" "=" "1"
StrParse "[LineData]" ":" "[Element]" "[ElementNo]"
SetVar "[MAC_Address]" "[Element2]"
ExitLoop
Endif
EndLoop
FileErase "[PubDir]Get_MacAddr.bat"
FileErase "[PubDir]MacAddr.dat"
ClearVariables "[FLen],[LineNum],[FoundPosn],[LineData],[rtInputVar1],[rtResult],[Element1],[Element2],[ElementNo]"
ajhunt
 
Posts: 223
Joined: Sat Apr 23, 2005 2:33 pm
Location: United Kingdom

Re: MAC Address of Network Card

Postby mr cubefan » Sat Apr 08, 2017 8:16 am

Hi ajhunt!, i faced a similar problem before, so i started to use the "Utilidades de Internet V1.0" from Enrique Ramiro, the plugin works well, and you can get the mac address of your network card, but if you got more than 1 card the plugin always return the mac of the embedded "motherboard" card and the other problem is that the specific card MUST be connected in order to correctly acquire the mac address.
Cheers!
User avatar
mr cubefan
 
Posts: 29
Joined: Thu Mar 10, 2011 6:23 pm

Re: MAC Address of Network Card

Postby David de Argentina » Sat Apr 08, 2017 12:13 pm

User avatar
David de Argentina
 
Posts: 1560
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

Re: MAC Address of Network Card

Postby ajhunt » Sun Apr 09, 2017 7:30 am

Thanks Mrcubefan and David. Will helps alot and many thanks for your knowledge and time. Best regards.
ajhunt
 
Posts: 223
Joined: Sat Apr 23, 2005 2:33 pm
Location: United Kingdom


Return to General NeoBook Discussions

Who is online

Users browsing this forum: Bing [Bot] and 2 guests