Possible Duplicate:
Reliable method to get machine's MAC address in C#
I want to obtain the mac address of the system through code in the application program so i can use it to authorize at the system level ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can get it via the active network interface, such as:
Failing retrieval from an active interface, you might consider just grabbing the loopback address. Also, you could loop the elements as opposed to using Linq, should you wish to.