diff --git a/samples/Wifi/ScanWiFi/Program.cs b/samples/Wifi/ScanWiFi/Program.cs index 23d47782..1ba8ecf0 100644 --- a/samples/Wifi/ScanWiFi/Program.cs +++ b/samples/Wifi/ScanWiFi/Program.cs @@ -23,6 +23,9 @@ public static void Main() // Get the first WiFI Adapter WifiAdapter wifi = WifiAdapter.FindAllAdapters()[0]; + // Set the device Name + wifi.SetDeviceName("MyDeviceName"); + // Set up the AvailableNetworksChanged event to pick up when scan has completed wifi.AvailableNetworksChanged += Wifi_AvailableNetworksChanged;