@@ -64,11 +64,11 @@ private static void CreateCsv(IEnumerable<WiFiNetworkInfo> collection, string fi
6464 private static void CreateXml ( IEnumerable < WiFiNetworkInfo > collection , string filePath )
6565 {
6666 var document = new XDocument ( DefaultXDeclaration ,
67- new XElement ( ApplicationName . IPScanner . ToString ( ) ,
68- new XElement ( nameof ( IPScannerHostInfo ) + "s" ,
67+ new XElement ( ApplicationName . WiFi . ToString ( ) ,
68+ new XElement ( nameof ( WiFiNetworkInfo ) + "s" ,
6969 from info in collection
7070 select
71- new XElement ( nameof ( IPScannerHostInfo ) ,
71+ new XElement ( nameof ( WiFiNetworkInfo ) ,
7272 new XElement ( nameof ( WiFiNetworkInfo . AvailableNetwork . Bssid ) , info . AvailableNetwork . Bssid ) ,
7373 new XElement ( nameof ( WiFiNetworkInfo . AvailableNetwork . Ssid ) , info . AvailableNetwork . Ssid ) ,
7474 new XElement ( nameof ( WiFiNetworkInfo . AvailableNetwork . ChannelCenterFrequencyInKilohertz ) ,
@@ -111,7 +111,7 @@ private static void CreateJson(IReadOnlyList<WiFiNetworkInfo> collection, string
111111 {
112112 collection [ i ] . AvailableNetwork . Bssid ,
113113 collection [ i ] . AvailableNetwork . Ssid ,
114- ChannelCenterFrequencyInKilohertz = collection [ i ] . AvailableNetwork . ChannelCenterFrequencyInKilohertz ,
114+ collection [ i ] . AvailableNetwork . ChannelCenterFrequencyInKilohertz ,
115115 SignalBars = collection [ i ] . AvailableNetwork . SignalBars . ToString ( ) ,
116116 IsWiFiDirect = collection [ i ] . AvailableNetwork . IsWiFiDirect . ToString ( ) ,
117117 NetworkRssiInDecibelMilliwatts = collection [ i ] . AvailableNetwork . NetworkRssiInDecibelMilliwatts
0 commit comments