You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-19 00:26:30 +09:00
including GetNetworkInterface in IS_FULL_NET_AVAILABLE define
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user