NetUtilsGetLocalIp Method |
Get first detected local ip address
Namespace: LiteNetLibAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic static string GetLocalIp(
LocalAddrType addrType
)
Parameters
- addrType LocalAddrType
- type of address (IPv4, IPv6 or both)
Return Value
StringIP address if available. Else - string.Empty
See Also