diff --git a/Lidgren.Network/NetUtility.cs b/Lidgren.Network/NetUtility.cs index 6b1fc1d..b1b6c0f 100644 --- a/Lidgren.Network/NetUtility.cs +++ b/Lidgren.Network/NetUtility.cs @@ -90,6 +90,8 @@ namespace Lidgren.Network } } +#if IS_FULL_NET_AVAILABLE + private static NetworkInterface GetNetworkInterface() { IPGlobalProperties computerProperties = IPGlobalProperties.GetIPGlobalProperties(); @@ -119,7 +121,6 @@ namespace Lidgren.Network return best; } -#if IS_FULL_NET_AVAILABLE /// /// Returns the physical (MAC) address for the first usable network interface ///