Get SSID of the wireless network I am connected to with C# .Net on Windows Vista

后端 未结 7 789
难免孤独
难免孤独 2020-11-27 04:31

I\'d like to know if there is any .Net class that allows me to know the SSID of the wireless network I\'m connected to. So far I only found the library linked below. Is the

7条回答
  •  遥遥无期
    2020-11-27 05:19

    I wanted to do exactly this, and tried using ManagedWifi, as suggested in other answers. But that led to unresolvable Exceptions as per here: Issues with using Managed WiFi (NativeWiFi API)

    I solved this by switching to using SimpleWiFi entirely and ignored the ManagedWifi package.

    Glancing at the source code, it looks like SW is a fixed reimplementation of some of the functionality in MW.

提交回复
热议问题