mirror of
https://github.com/Maassoft/ColorControl.git
synced 2026-10-22 00:22:18 -05:00
Filter on Description rather than name to detect a Hyper-V Interface
This commit is contained in:
1 parent
048abda482
commit
42f6b3346c
1 file changed
+1
-1
@@ -44,7 +44,7 @@ public class WolService
|
||||
|
||||
private bool IsViableWOLInterface(NetworkInterface ni) {
|
||||
return ni.NetworkInterfaceType != NetworkInterfaceType.Loopback
|
||||
&& !ni.Name.Contains("Hyper-V")
|
||||
&& !ni.Description.Contains("Hyper-V")
|
||||
&& ni.SupportsMulticast
|
||||
&& ni.GetIPProperties().GetIPv4Properties != null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user