不需要IP的MAC地址. [英] MAC address without need of IP cofigured.
本文介绍了不需要IP的MAC地址.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好朋友,
我正在ASP.net [C#]中开发一个应用程序.哪个是脱机应用程序,其中同一台计算机是客户端和服务器计算机.现在我需要其MAC地址而不配置其IP地址.
谢谢您.
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.
推荐答案
您可以使用PhysicalAddress
类.这是MSDN文章 PhysicalAddress类 [ ^ ].这样就为您提供了所需的所有信息以及一个很好的示例.
希望对您有帮助
You can use thePhysicalAddress
Class. Here is the MSDN article PhysicalAddress Class[^]. Thus gives you all the info you need plus a good example.
Hope this helps
这篇关于不需要IP的MAC地址.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文