Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends,

I am developing one application in ASP.net [C#].Which is the offline application where same machine is a client and server machine.Now i want its MAC address without configuring its IP address.

Thanks in advanced.
Posted

1 solution

You can use the PhysicalAddress Class. Here is the MSDN article PhysicalAddress Class[^]. Thus gives you all the info you need plus a good example.

Hope this helps
 
Share this answer
 
Comments
Kim Togo 1-Jun-11 9:05am    
My 5.
Wayne Gaylard 1-Jun-11 9:12am    
Thanks
Sergey Alexandrovich Kryukov 1-Jun-11 16:11pm    
Good info, good to know. My 5.
--SA
Wayne Gaylard 2-Jun-11 2:39am    
Thank you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900