Sets subnet mask of the device

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

Syntax

C#
void SetSubnetMask(
	string address
)
Visual Basic
Sub SetSubnetMask ( 
	address As String
)
Visual C++
void SetSubnetMask(
	String^ address
)

Parameters

address
Type: System..::..String

[Missing <param name="address"/> documentation for "M:EAL.Interfaces.System.ISystem.SetSubnetMask(System.String)"]

Examples

Synchronous method
 Copy imageCopy
private static void Method1()
{
    using (IEALConnection ealConnection = new EALConnection())
    {
        ealConnection.Connect("192.168.0.10");
        ealConnection.System.SetSubnetMask("255.255.252.0");
    }
}
Asynchronous method
 Copy imageCopy
private static void Method2()
{
    using (IEALConnection ealConnection = new EALConnection(true))
    {
        ealConnection.Connect("192.168.0.10");
        ealConnection.System.SetSubnetMask("255.255.252.0");
        ealConnection.WaitUntilQueueComplete();
    }
}

See Also