![]() 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. ![]() 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) 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). You can obtain all Interfaces connected in your Device. You just have to set the first octet of MAC address to '02', instead on what normally is '00'. Click on Ethernet (for wired connections) or Wi-Fi. With this code: .NetworkInterfaceList InterfacesList = new .NetworkInterfaceList() Go to the Apple menu in the upper left corner of your screen.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |