Is there some function that returns a value that unique for a computer, something like a serial of HDD, proc or LAN card??? I need such a value for making a regiter to my program.
thank you!
i'm really just a newbie in C# and is in fact just trying to browse thru the postings in this forum. anyways, wouldn't the IP address of the computer suffice? if yes, try looking up sockets in C#.
For the MAC address you can use the ManagementObjectSearcher class to find the network adapter ManagementObject class and then grab the MacAdress from it.
Here is the schema for the network adapter WMI class:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.