Click or drag to resize

NetworkControllerGetIpAddresses Method

Gets the ip addresses.

Namespace:  Xcalibur.Controllers
Assembly:  Xcalibur.Controllers (in Xcalibur.Controllers.dll) Version: 1.0.5.0 (1.0.0.0)
Syntax
public static string[] GetIpAddresses()

Return Value

Type: String
Examples
C#
 1// Main
 2private static void Main()
 3{
 4    // Get IP addresses
 5    var addresses = NetworkController.GetIpAddresses();
 6    foreach (var address in addresses)
 7    {
 8        Console.WriteLine(address);
 9    }
10
11    // Read
12    Console.Read();
13}
14
15// Result: 172.16.31.2.
See Also