How to Obtain the Same Signal Value as the WiFi Icon in the Task Tray

Asked 1 years ago, Updated 1 years ago, 90 views

I would like to obtain the same signal value as the icon displayed in the wifi intensity displayed in the task tray in Windows 10 other than the netsh wlan command.
The goal is to integrate it into the desktop application (C#) you are creating.

In our estimation, the signal value displayed in the task tray is

of the netsh wlan command.

netsh wlan show interfaces

Integrated with the シグナルsignal value 」 shown in
76-100% 4
51-75% 3 bottles 26-50% 2 bottles 0-25% 1 bottle appears.

Currently, we are responding by issuing the netsh wlan command and extracting the string after the "signal", but this method is not available in non-Japanese language environments.

Also, after running WlanScan(), I tried to get the Wifi strength from WlanGetAvailableNetworkList(), but it doesn't seem to work with the icon display value displayed in the task tray.

If you know this, please tell me.

c# windows network windows-10

2022-09-30 17:54

1 Answers

What if the WlanGetAvailableNetworkList function gets the Wi-Fi strength instead of calling the WlanScan function?In my environment (Windows 10, x64), the Wi-Fi intensity currently connected obtained by the WlanGetAvailableNetworkList function seemed to be the same value as the "signal" displayed by the netsh wlan show interfaces.

Does "Integration" mean the same value in real time?

The program I tried was here.


2022-09-30 17:54

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.