From e6d1338ca85e8cef961555182f167d4b46f7f029 Mon Sep 17 00:00:00 2001 From: lidgren Date: Tue, 21 Jun 2011 09:12:19 +0000 Subject: [PATCH] including GetNetworkInterface in IS_FULL_NET_AVAILABLE define --- Lidgren.Network/NetUtility.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ///