You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DragonFruit.OnionFruit.Core.Windows/WindowsNetworkAdapterManager.cs
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ public class WindowsNetworkAdapterManager : IDisposable, INetworkAdapterManager
17
17
{
18
18
privateconststringWmiNamespace=@"root\cimv2";
19
19
privateconststringWmiNetworkAdapterQuery="SELECT Description,SettingID FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = 'TRUE'";
20
-
privateconststringWmiNetworkAdapterEventQuery="SELECT * FROM __InstanceCreationEvent WITHIN 2 WHERE TargetInstance ISA 'Win32_NetworkAdapterConfiguration' AND TargetInstance.IPEnabled = TRUE";
20
+
privateconststringWmiNetworkAdapterEventQuery="SELECT * FROM __InstanceCreationEvent WITHIN 10 WHERE TargetInstance ISA 'Win32_NetworkAdapterConfiguration' AND TargetInstance.IPEnabled = TRUE";
0 commit comments