OpenNETCF.Net.Networkinformation Examples - Request Wi-Fi Information

I started playing with the OpenNETCF Framework to collect information related to the WiFi connection available on the device for which I am writing an application. I found a very useful example at http://msdn.microsoft.com/en-us/library/aa446491.aspx , but found that:

and. I could not get the MAC address for the AP that I was currently connected to using this methodology. b. This alluded to an earlier version of the framework using obsolete classes and methods.

I found links on the OpenNETCF website that the .Net.Networkinformation namespace was the current path to get to what I was looking for. Unfortunately, for a while, Google was unable to find any meaningful examples or documentation for this namespace.

So, I am coming here.

What I'm looking for for publication is as follows for my application.

  • Active network adapter.
  • If the current adapter is wireless and connected.
  • Information (for example, MAC address and name) of the access point to which it is currently connected.
+3
source share

Source: https://habr.com/ru/post/1769788/


All Articles