diff --git a/Source/NETworkManager.Models/Export/ExportManager.IPNetworkInfo.cs b/Source/NETworkManager.Models/Export/ExportManager.IPNetworkInfo.cs index 3035290ac6..7af1f7de6b 100644 --- a/Source/NETworkManager.Models/Export/ExportManager.IPNetworkInfo.cs +++ b/Source/NETworkManager.Models/Export/ExportManager.IPNetworkInfo.cs @@ -63,7 +63,7 @@ private static void CreateCsv(IEnumerable collection, string file private static void CreateXml(IEnumerable collection, string filePath) { var document = new XDocument(DefaultXDeclaration, - new XElement(ApplicationName.SNMP.ToString(), + new XElement(ApplicationName.SubnetCalculator.ToString(), new XElement(nameof(IPNetworkInfo) + "s", from info in collection select diff --git a/Source/NETworkManager.Models/Export/ExportManager.SNTPLookupResultInfo.cs b/Source/NETworkManager.Models/Export/ExportManager.SNTPLookupResultInfo.cs index 92bd9b9407..d2b9a16064 100644 --- a/Source/NETworkManager.Models/Export/ExportManager.SNTPLookupResultInfo.cs +++ b/Source/NETworkManager.Models/Export/ExportManager.SNTPLookupResultInfo.cs @@ -65,7 +65,7 @@ private static void CreateCsv(IEnumerable collection, string fil private static void CreateXml(IEnumerable collection, string filePath) { var document = new XDocument(DefaultXDeclaration, - new XElement(ApplicationName.SNMP.ToString(), + new XElement(ApplicationName.SNTPLookup.ToString(), new XElement(nameof(SNTPLookupInfo) + "s", from info in collection select diff --git a/Source/NETworkManager.Models/Export/ExportManager.WiFiNetworkInfo.cs b/Source/NETworkManager.Models/Export/ExportManager.WiFiNetworkInfo.cs index 2730dcaa2c..78e866df04 100644 --- a/Source/NETworkManager.Models/Export/ExportManager.WiFiNetworkInfo.cs +++ b/Source/NETworkManager.Models/Export/ExportManager.WiFiNetworkInfo.cs @@ -64,11 +64,11 @@ private static void CreateCsv(IEnumerable collection, string fi private static void CreateXml(IEnumerable collection, string filePath) { var document = new XDocument(DefaultXDeclaration, - new XElement(ApplicationName.IPScanner.ToString(), - new XElement(nameof(IPScannerHostInfo) + "s", + new XElement(ApplicationName.WiFi.ToString(), + new XElement(nameof(WiFiNetworkInfo) + "s", from info in collection select - new XElement(nameof(IPScannerHostInfo), + new XElement(nameof(WiFiNetworkInfo), new XElement(nameof(WiFiNetworkInfo.AvailableNetwork.Bssid), info.AvailableNetwork.Bssid), new XElement(nameof(WiFiNetworkInfo.AvailableNetwork.Ssid), info.AvailableNetwork.Ssid), new XElement(nameof(WiFiNetworkInfo.AvailableNetwork.ChannelCenterFrequencyInKilohertz), @@ -111,7 +111,7 @@ private static void CreateJson(IReadOnlyList collection, string { collection[i].AvailableNetwork.Bssid, collection[i].AvailableNetwork.Ssid, - ChannelCenterFrequencyInKilohertz = collection[i].AvailableNetwork.ChannelCenterFrequencyInKilohertz, + collection[i].AvailableNetwork.ChannelCenterFrequencyInKilohertz, SignalBars = collection[i].AvailableNetwork.SignalBars.ToString(), IsWiFiDirect = collection[i].AvailableNetwork.IsWiFiDirect.ToString(), NetworkRssiInDecibelMilliwatts = collection[i].AvailableNetwork.NetworkRssiInDecibelMilliwatts diff --git a/Website/docs/changelog/next-release.md b/Website/docs/changelog/next-release.md index ff6a040824..a0ea9553d6 100644 --- a/Website/docs/changelog/next-release.md +++ b/Website/docs/changelog/next-release.md @@ -92,6 +92,7 @@ Release date: **xx.xx.2025** - Fix potential error in export logic if some data is null. [#3291](https://github.com/BornToBeRoot/NETworkManager/pull/3291) - Fix missing simicolon separators in CSV output. [#3291](https://github.com/BornToBeRoot/NETworkManager/pull/3291) +- Fix wrong name in xml export [#3293](https://github.com/BornToBeRoot/NETworkManager/pull/3293) **IP Scanner** @@ -121,6 +122,14 @@ Release date: **xx.xx.2025** - Fix `NullReferenceException` when no SNMP profile is selected in the DataGrid and `Return` key is pressed. [#3271](https://github.com/BornToBeRoot/NETworkManager/pull/3271) +**SNTP Lookup** + +- Fix wrong name in xml export [#3293](https://github.com/BornToBeRoot/NETworkManager/pull/3293) + +**Subnet Calculator** + +- Fix wrong name in xml export [#3293](https://github.com/BornToBeRoot/NETworkManager/pull/3293) + ## Dependencies, Refactoring & Documentation - Documentation updated