Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private static void CreateCsv(IEnumerable<IPNetworkInfo> collection, string file
private static void CreateXml(IEnumerable<IPNetworkInfo> 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private static void CreateCsv(IEnumerable<SNTPLookupInfo> collection, string fil
private static void CreateXml(IEnumerable<SNTPLookupInfo> 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ private static void CreateCsv(IEnumerable<WiFiNetworkInfo> collection, string fi
private static void CreateXml(IEnumerable<WiFiNetworkInfo> 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),
Expand Down Expand Up @@ -111,7 +111,7 @@ private static void CreateJson(IReadOnlyList<WiFiNetworkInfo> 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
Expand Down
9 changes: 9 additions & 0 deletions Website/docs/changelog/next-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand Down Expand Up @@ -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
Expand Down