Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
cdc3826
Refactor: Network Interface: One apply method, normalization of the c…
BornToBeRoot Nov 8, 2026
395f2bd
Fix: Network Interface: Apply failed with a space before or after the…
BornToBeRoot Nov 8, 2026
5553f2a
Fix: Network Interface: CIDR without slash (e.g. 24) was accepted but…
BornToBeRoot Nov 8, 2026
cbe5a7d
Fix: Network Interface: Check the values of a profile before they are…
BornToBeRoot Nov 8, 2026
f17fbf5
Fix: Network Interface: Static IP address without default gateway pas…
BornToBeRoot Nov 8, 2026
258d8e8
Fix: Network Interface: Configuration blocked after the selected adap…
BornToBeRoot Nov 8, 2026
f9371d5
Fix: Network Interface: Bandwidth meter stopped after a network chang…
BornToBeRoot Nov 8, 2026
e5a8d43
Fix: Network Interface: Reload restarted the bandwidth measurement an…
BornToBeRoot Nov 8, 2026
214a7ca
Fix: Network Interface: Configure tab overwritten with the selected p…
BornToBeRoot Nov 8, 2026
4118f3e
Fix: Network Interface: Switching to DHCP selected static DNS servers…
BornToBeRoot Nov 8, 2026
17d672b
Fix: Network Interface: Profile with static IP and DHCP DNS showed a …
BornToBeRoot Nov 8, 2026
0d88299
Fix: Network Interface: Error while loading the adapters blocked the …
BornToBeRoot Nov 8, 2026
f544fcf
Fix: Network Interface: IP Scanner enabled without IPv4 address (B8)
BornToBeRoot Nov 8, 2026
39055fa
Feature: Network Interface: Bind a profile to a network interface (M1…
BornToBeRoot Nov 8, 2026
0a3b70f
Fix: Network Interface: Profile tooltip showed the (unused) host (C1)
BornToBeRoot Nov 8, 2026
5c6ab33
Feature: Network Interface: Add profile from the configuration of the…
BornToBeRoot Nov 8, 2026
262b59a
Feature: Network Interface: Reset button on the Configure tab (C3)
BornToBeRoot Nov 8, 2026
f1221da
Fix: Network Interface: Profile dialog showed validation errors on di…
BornToBeRoot Nov 8, 2026
c58ee1a
Fix: Network Interface: Profile selected by the profile list (search,…
BornToBeRoot Nov 8, 2026
4620989
Fix: Network Interface: Apply from the profile context menu set DHCP …
BornToBeRoot Nov 8, 2026
b3244f0
Fix: Network Interface: Bandwidth meter kept a stale adapter after it…
BornToBeRoot Nov 8, 2026
94168a5
Fix: Network Interface: Configure values inconsistent if the adapter …
BornToBeRoot Nov 8, 2026
f17d962
Fix: Network Interface: Reload after Apply skipped while a reload was…
BornToBeRoot Nov 8, 2026
c59517c
Fix: Network Interface: Disabled subnet mask still showed validation …
BornToBeRoot Nov 8, 2026
3098b8c
Fix: Network Interface: Invalid value in Add / Remove IPv4 address sh…
BornToBeRoot Nov 8, 2026
0eb46c2
Fix: Network Interface: Configure tab showed the old adapter configur…
BornToBeRoot Nov 8, 2026
f184acc
Refactor: Network Interface: Simplify the subnet mask conversion (CR10)
BornToBeRoot Nov 8, 2026
c00eac0
Refactor: Network Interface: Rename the hint of the "network interfac…
BornToBeRoot Nov 8, 2026
e399551
Fix: Network Interface: Network interface drop-down of the profile di…
BornToBeRoot Nov 8, 2026
af3f483
Refactor: Network Interface: Move SetConfigurationFromProfile to the …
BornToBeRoot Nov 8, 2026
a9b9209
Feature: Network Interface: Double-click / Enter on a profile fills i…
BornToBeRoot Nov 8, 2026
975b6cd
Fix: Network Interface: Fallback adapter replaced the remembered one,…
BornToBeRoot Nov 8, 2026
bd111a2
Fix: Network Interface: Bandwidth meter started while the view was hi…
BornToBeRoot Nov 8, 2026
cac2bf5
Fix: Network Interface: Profile applied to an outdated adapter object…
BornToBeRoot Nov 8, 2026
cc72cc6
Fix: Network Interface: Selecting a profile while applying switched t…
BornToBeRoot Nov 8, 2026
0969721
Fix: Network Interface: Static IP without IP address or subnet mask p…
BornToBeRoot Nov 8, 2026
c8961f3
Refactor: Network Interface: One method for the configuration actions…
BornToBeRoot Nov 8, 2026
8d867e3
Fix: Network Interface: Adapters not reloaded after a failed configur…
BornToBeRoot Nov 8, 2026
fa5e646
Fix: Network Interface: Status level of the "invalid value" and "not …
BornToBeRoot Nov 21, 2026
6ab9efd
Refactor: Network Interface: Selection after a reload and lookup by I…
BornToBeRoot Nov 21, 2026
7c529a6
Fix: Network Interface: Add / Remove IPv4 address changed another ada…
BornToBeRoot Nov 21, 2026
f9cadc6
Fix: Network Interface: Bound profile with a missing adapter filled i…
BornToBeRoot Nov 21, 2026
b8aa904
Fix: Network Interface: Meter of a removed adapter started again when…
BornToBeRoot Nov 21, 2026
1aa22e2
Fix: Network Interface: Saving a bound profile before the adapters we…
BornToBeRoot Nov 21, 2026
bafc9e2
Fix: Network Interface: Configured fallback adapter replaced when the…
BornToBeRoot Nov 21, 2026
d14b967
Feature: Network Interface: Preselect the adapter of the tool when a …
BornToBeRoot Nov 21, 2026
ce28210
Docs: Network Interface: Bind to network interface applies to the int…
BornToBeRoot Nov 21, 2026
0ba41c0
Fix: Network Interface: Missing IP address / subnet mask of a profile…
BornToBeRoot Nov 21, 2026
e1c9cb6
Fix: Network Interface: Profile dialog without hint if the adapters c…
BornToBeRoot Nov 21, 2026
1cc8de7
Feature: Network Interface: Run command with a profile (networkinterf…
BornToBeRoot Nov 21, 2026
ec65997
Fix: Network Interface: Looking at a bound profile changed the rememb…
BornToBeRoot Nov 21, 2026
06bfefd
Fix: Network Interface: Run command with a profile lost its values wh…
BornToBeRoot Nov 21, 2026
7ae4613
Fix: Network Interface: Apply of a profile bound to a disconnected ad…
BornToBeRoot Nov 21, 2026
6bf0b13
Fix: Network Interface: No adapter preselected when binding a profile…
BornToBeRoot Nov 21, 2026
be310eb
Fix: Network Interface: Run command with a profile ignored while a co…
BornToBeRoot Nov 21, 2026
c94df30
Fix: Network Interface: Run command "networkinterface home" said it a…
BornToBeRoot Nov 21, 2026
964523f
Fix: Network Interface: Profile bound without ID showed an empty "not…
BornToBeRoot Nov 21, 2026
e7b9001
Fix: Network Interface: DNS autoconfiguration shown for a static IP a…
BornToBeRoot Nov 21, 2026
4d0277b
Fix: Network Interface: Waiting run command request kept old messages…
BornToBeRoot Nov 21, 2026
c6acdfd
Fix: Network Interface: DNS autoconfiguration "No" for adapters witho…
BornToBeRoot Nov 21, 2026
4c274d9
Docs: Network Interface: Preselected adapter of "Bind to network inte…
BornToBeRoot Nov 21, 2026
a2b839d
Fix: Network Interface: Configuration actions available while the ada…
BornToBeRoot Nov 22, 2026
c6c2ae4
Fix: Network Interface: Profile waiting for a reload overrode later u…
BornToBeRoot Nov 22, 2026
c7b594a
Fix: Network Interface: DNS autoconfiguration "Yes" for adapters with…
BornToBeRoot Nov 22, 2026
ef688a2
Fix: Network Interface: Profile selected during a reload loaded again…
BornToBeRoot Nov 22, 2026
273305d
Fix: Network Interface: Missing IPv6 NameServer value treated as unkn…
BornToBeRoot Nov 22, 2026
a9f8478
Feature: Network Interface: Sample data in the screenshot mode
BornToBeRoot Nov 22, 2026
da6afc8
Docs: Network Interface: PR number in the changelog (#3728)
BornToBeRoot Nov 22, 2026
d7d822d
Docs: Update screenshots
BornToBeRoot Nov 22, 2026
859711a
Fix: Network Interface: Bound adapter not shown in the profile dialog…
BornToBeRoot Nov 22, 2026
c4574a5
Fix: Profiles: Edited profile not selected again after saving
BornToBeRoot Nov 22, 2026
e3304b7
Feature: Network Interface: Reset as icon next to the Configure header
BornToBeRoot Nov 22, 2026
a1f4114
Feature: Network Interface: Reset icon right-aligned under the reload…
BornToBeRoot Nov 22, 2026
0fa1430
Feature: Network Interface: Add profile... next to Apply
BornToBeRoot Nov 22, 2026
a741120
Update network-interface--configure.png
BornToBeRoot Nov 22, 2026
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
4 changes: 2 additions & 2 deletions Source/GlobalAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: AssemblyVersion("2026.11.21.0")]
[assembly: AssemblyFileVersion("2026.11.21.0")]
[assembly: AssemblyVersion("2026.11.22.0")]
[assembly: AssemblyFileVersion("2026.11.22.0")]
130 changes: 128 additions & 2 deletions Source/NETworkManager.Localization/Resources/Strings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 42 additions & 0 deletions Source/NETworkManager.Localization/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -5654,4 +5654,46 @@ Do you want to start the scan?</value>
<data name="MDNSDiscovery_InterfaceNotAvailable" xml:space="preserve">
<value>The last used network interface is not available, "{0}" is used instead.</value>
</data>
<data name="NetworkInterfaceConfigInvalidValueX" xml:space="preserve">
<value>"{0}" is not a valid IPv4 address or subnet mask. Check the configuration (or the profile) and try again.</value>
</data>
<data name="BindToNetworkInterface" xml:space="preserve">
<value>Bind to network interface</value>
</data>
<data name="HelpMessage_BindToNetworkInterface" xml:space="preserve">
<value>The profile is always applied to this network interface (not to the one selected in Network Interface), selecting the profile also selects the network interface. The network interface is identified by its ID, which is unique per computer: on another computer, select the network interface again or disable this option.</value>
</data>
<data name="NotFoundOnThisComputer" xml:space="preserve">
<value>Not found on this computer</value>
</data>
<data name="NetworkInterfaceNotFound" xml:space="preserve">
<value>Network interface not found</value>
</data>
<data name="NetworkInterfaceOfProfileXNotFoundOnThisComputer" xml:space="preserve">
<value>The network interface of the profile "{0}" was not found on this computer:</value>
</data>
<data name="ApplyProfileToSelectedNetworkInterfaceXInstead" xml:space="preserve">
<value>Apply the profile to the selected network interface "{0}" instead?</value>
</data>
<data name="FixNetworkInterfaceOfProfileHint" xml:space="preserve">
<value>To fix this, edit the profile and select another network interface or disable "Bind to network interface".</value>
</data>
<data name="NetworkInterfaceXNotFoundNothingChanged" xml:space="preserve">
<value>The network interface "{0}" was not found (e.g. it was removed). Nothing was changed.</value>
</data>
<data name="NetworkInterfaceXOfProfileNotFoundCheckSelected" xml:space="preserve">
<value>The network interface "{0}" of the profile was not found on this computer. The values are filled in for the selected network interface, check it before you apply them.</value>
</data>
<data name="NetworkInterfaceConfigIPAddressAndSubnetmaskRequired" xml:space="preserve">
<value>A static IP address needs an IPv4 address and a subnet mask. Check the configuration (or the profile) and try again.</value>
</data>
<data name="FailedToLoadNetworkInterfacesTryAgain" xml:space="preserve">
<value>Failed to load the network interfaces. Disable "Bind to network interface" and enable it again to try again.</value>
</data>
<data name="CommandXOnlyAcceptsAProfile" xml:space="preserve">
<value>The command "{0}" only accepts a profile: enter "@" and the name of the profile!</value>
</data>
<data name="ProfileXNotLoadedConfigurationRunning" xml:space="preserve">
<value>The profile "{0}" was not loaded, because a configuration is being applied. Run the command again when it has finished.</value>
</data>
</root>
24 changes: 19 additions & 5 deletions Source/NETworkManager.Models/Network/BandwidthMeter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public BandwidthMeter(string id)
_timer.Interval = TimeSpan.FromMilliseconds(UpdateInterval);
_timer.Tick += Timer_Tick;

_networkInterface = System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()
.FirstOrDefault(x => x.Id == id);
_id = id;
_networkInterface = FindNetworkInterface(id);
}

#endregion
Expand Down Expand Up @@ -55,7 +55,8 @@ public double UpdateInterval
public bool IsRunning => _timer.IsEnabled;

private readonly DispatcherTimer _timer = new();
private readonly System.Net.NetworkInformation.NetworkInterface _networkInterface;
private readonly string _id;
private System.Net.NetworkInformation.NetworkInterface _networkInterface;
private readonly Stopwatch _stopwatch = new();
private long _previousBytesSent;
private long _previousBytesReceived;
Expand Down Expand Up @@ -91,7 +92,10 @@ public void Stop()

private void Update()
{
// The interface may have been removed/disabled after this meter was created.
// The interface may have been removed/disabled after this meter was created: look it up again (e.g. a
// VPN or USB adapter that was added again with the same ID).
_networkInterface ??= FindNetworkInterface(_id);

if (_networkInterface == null)
return;

Expand All @@ -104,7 +108,11 @@ private void Update()
}
catch (NetworkInformationException)
{
// Transient failure (e.g. adapter going down) - skip this tick.
// Adapter going down or removed (the object is stale) - skip this tick and look it up again on the
// next one. The baseline is seeded again, so there is no speed spike.
_networkInterface = null;
_canUpdate = false;

return;
}

Expand Down Expand Up @@ -140,5 +148,11 @@ private void Update()
byteReceivedSpeed, byteSentSpeed));
}

private static System.Net.NetworkInformation.NetworkInterface FindNetworkInterface(string id)
{
return System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()
.FirstOrDefault(x => x.Id == id);
}

#endregion
}
Loading