Lidgren Network Library documentation |
NetUtility..::..GetMyAddress Method |
NetUtility Class See Also Send Feedback |
Gets my local IP address (not necessarily external) and subnet mask
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
C# |
---|
public static IPAddress GetMyAddress( out IPAddress mask ) |
Visual Basic |
---|
Public Shared Function GetMyAddress ( _ <OutAttribute> ByRef mask As IPAddress _ ) As IPAddress |
Visual C++ |
---|
public: static IPAddress^ GetMyAddress( [OutAttribute] IPAddress^% mask ) |
Parameters
- mask
- Type: System.Net..::..IPAddress%
[Missing <param name="mask"/> documentation for "M:Lidgren.Network.NetUtility.GetMyAddress(System.Net.IPAddress@)"]
Return Value
[Missing <returns> documentation for "M:Lidgren.Network.NetUtility.GetMyAddress(System.Net.IPAddress@)"]