Computing.Net > Forums > Programming > MAC address delphi

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

MAC address delphi

Reply to Message Icon

Name: lupo
Date: November 25, 2002 at 05:22:03 Pacific
OS: win2k
CPU/Ram: -
Comment:

hi, i can read and check all MACaddresses, but it doesn't work if the card's cable is unplugged! i use the standard class NB30.pas.
it must work, in dos you can get the MACaddress even if the card is unplugged (ipconfig /all) any suggestion to do that in delphi??

i really have to do this! hope you can help me, thanks



Sponsored Link
Ads by Google

Response Number 1
Name: lupo
Date: November 26, 2002 at 06:13:54 Pacific
Reply:

if you're interested, i've used it to substitute the key on LPT usually used to protect a software. i generate a code from the MACAddress and some parameters, then i store it in the win registry, evrery time the programs start he check the code with all the MAC address found in the PC. i didn't found a way do do this via netBIOS, so the solution that i've applied is to send a command to the dos shell (ipconfig /all), and to redirect the output to a temp file, reading this file i can do what i want.

not really the best way, but it works


0

Response Number 2
Name: borelli34
Date: November 27, 2002 at 03:23:01 Pacific
Reply:

Guys, look into the following registry entry on your systems:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\{1F2DF5ED-9018-48F8-ABB8-0D99860F64F6}\Parameters\Tcpip

This is found on a WindowsXP Pro system using DHCP.

borelli34@cox.net


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: MAC address delphi

IP Reporting Using MAC Address www.computing.net/answers/programming/ip-reporting-using-mac-address/8408.html

Create file with mac address www.computing.net/answers/programming/create-file-with-mac-address/9789.html

How to get Ethernet MAC Address www.computing.net/answers/programming/how-to-get-ethernet-mac-address/8744.html