![]() If the MAC address didnt change, try to disable and re-enable the Wifi network adapter manually from Network and Sharing Center > Change adapter settings (or you can just enter Network Connections in Windows Explorer location bar). Another way is open command prompt and then type: ipconfig /all Press enter and see the physical address for Wireless. You can go to the MSDN for more information about NetworkInterfaceInfoīut, They are not MAC Adress information! you can use "Description", it is the ID of the network card. You just have to set the first octet of MAC address to '02', instead on what normally is '00'. There are tow ways, one is open Network Setting and under Adaptors look for Wireless and open it and under physical address you will see MAC Address. If (specificInterface.InterfaceType = .NetworkInterfaceType.Wireless80211)Ĭonsole.WriteLine("This interface is a Wifi Interface :") Ĭonsole.WriteLine("Bandwidth :" + specificInterface.Bandwidth) Ĭonsole.WriteLine("Characteristics :" + specificInterface.Characteristics) Ĭonsole.WriteLine("Description :" + specificInterface.Description) Ĭonsole.WriteLine("InterfaceName :" + specificInterface.InterfaceName) Ĭonsole.WriteLine("InterfaceType :" + specificInterface.InterfaceType) You want obtain all informations of every connected interfaces with that : foreach (.NetworkInterfaceInfo specificInterface in InterfacesList) ![]() You can obtain all Interfaces connected in your Device. With this code: .NetworkInterfaceList InterfacesList = new .NetworkInterfaceList()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |