NetUtilsGetLocalIp Method |
LiteNetLib |
Get first detected local ip address
Namespace: LiteNetLib
Assembly: LiteNetLib (in LiteNetLib.dll) Version: 1.0.0.0
Syntax
C#
public static string GetLocalIp( LocalAddrType addrType )
Parameters
- addrType
- Type: LiteNetLibLocalAddrType
type of address (IPv4, IPv6 or both)
Return Value
Type: StringIP address if available. Else - string.Empty
See Also