Do you want to monitor the camera WiFi's connection? How did you implement the WiFi part in your WPF application? Did you use the UWP API? If you did, do you use Windows.Devices.WiFiDirect to download the file from the camera? If you use Windows.Devices.WiFiDirect,you seems no need to minitor the Wifi connect, you can use ConnectionStatus to get the connection status for the WiFi-Direct device.You can add a handler for the ConnectionStatusChanged event to be notified when the connection has been established or disconnected.You could refer to WiFiDirectDevice for more details.If I misunderstand the question, please point out and give me more details to analyze.
C# How to monitor WiFi connection in WPF?
Jeff Nygren
121
Reputation points
I have a C# WPF desktop application that connects to a camera via WiFi, and downloads pictures to a 'HotFolder'. If the camera is moved too far from the PC, the WiFi disconnects. How can I monitor the WiFi connection?