1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-18 16:16:35 +09:00

including GetNetworkInterface in IS_FULL_NET_AVAILABLE define

This commit is contained in:
lidgren
2011-06-21 09:12:19 +00:00
parent b613a84240
commit e6d1338ca8

View File

@@ -90,6 +90,8 @@ namespace Lidgren.Network
} }
} }
#if IS_FULL_NET_AVAILABLE
private static NetworkInterface GetNetworkInterface() private static NetworkInterface GetNetworkInterface()
{ {
IPGlobalProperties computerProperties = IPGlobalProperties.GetIPGlobalProperties(); IPGlobalProperties computerProperties = IPGlobalProperties.GetIPGlobalProperties();
@@ -119,7 +121,6 @@ namespace Lidgren.Network
return best; return best;
} }
#if IS_FULL_NET_AVAILABLE
/// <summary> /// <summary>
/// Returns the physical (MAC) address for the first usable network interface /// Returns the physical (MAC) address for the first usable network interface
/// </summary> /// </summary>