Gets gateway

Namespace: EAL.Interfaces.System
Assembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)

Syntax

C#
string GetGateway()
Visual Basic
Function GetGateway As String
Visual C++
String^ GetGateway()

Return Value

Type: String
Gateway address

Examples

 Copy imageCopy
private static void Method1()
{
    using (IEALConnection ealConnection = new EALConnection())
    {
       ealConnection.Connect("192.168.0.10");
       string gateway = ealConnection.System.GetGateway();        
       Console.WriteLine("Gateway is:" + gateway);
   }
}

See Also