Sets ip address
Namespace: EAL.Interfaces.SystemAssembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)
Syntax
C# |
---|
void SetIpAddress(
string address
) |
Visual Basic |
---|
Sub SetIpAddress (
address As String
) |
Visual C++ |
---|
void SetIpAddress(
String^ address
) |
Parameters
- address
- Type: System..::..String
[Missing <param name="address"/> documentation for "M:EAL.Interfaces.System.ISystem.SetIpAddress(System.String)"]
Examples
Synchronous method
| Copy |
---|
private static void Method1()
{
using (IEALConnection ealConnection = new EALConnection())
{
ealConnection.Connect("192.168.0.10");
ealConnection.System.SetIpAddress("192.168.0.60");
}
} |
Asynchronous method
| Copy |
---|
private static void Method2()
{
using (IEALConnection ealConnection = new EALConnection(true))
{
ealConnection.Connect("192.168.0.10");
ealConnection.System.SetIpAddress("192.168.0.60"");
ealConnection.WaitUntilQueueComplete();
}
} |
See Also