UtilNetworkGetPublicIP Method
Gets the public IP address of the current machine.
Namespace: DevCase.Core.Networking.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static IPAddress GetPublicIP()
Public Shared Function GetPublicIP As IPAddress
Dim returnValue As IPAddress
returnValue = UtilNetwork.GetPublicIP()
public:
static IPAddress^ GetPublicIP()
static member GetPublicIP : unit -> IPAddress
No code example is currently available or this language may not be supported.
Return Value
IPAddress
The resulting IP address.
This is a code example.
No code example is currently available or this language may not be supported.
Dim ip As IPAddress = GetPublicIP()
Console.WriteLine(ip.ToString())
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.