How to get current value of wlan transfer speed(PC-Router)? I am trying to search this parametr in wlanapi library, but I couldn't.
I want "wireless network connection speed". I guess it is the same as "theoretical bits per second"
I want "wireless network connection speed". I guess it is the same as "theoretical bits per second"
You can get it like this:
var speed = NetworkInterface.GetAllNetworkInterfaces()
.Where(inf => inf.NetworkInterfaceType == NetworkInterfaceType.Wireless80211)
.Where(inf => inf.OperationalStatus == OperationalStatus.Up)
.Select(inf => inf.Speed)
.First();