NetworkAddressHelperGetLocalIPv6 Method |
Gets the local IPv6 address of the current machine.
Namespace: Ozeki.NetworkAssembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.98
Syntaxpublic static IPAddress GetLocalIPv6()
Public Shared Function GetLocalIPv6 As IPAddress
public:
static IPAddress^ GetLocalIPv6()
static member GetLocalIPv6 : unit -> IPAddress
Return Value
IPAddressAn
IPAddress representing the local IPv6 address. Returns
IPv6Loopback
if no external IPv6 address is found.
RemarksThis method attempts to determine the local IPv6 address by establishing a UDP
connection to a well-known external IPv6 address. If the machine does not have an external IPv6 address, the
IPv6 loopback address is returned.
See Also