Reboots the drive with timeout

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

Syntax

C#
void Reboot(
	int timeout
)
Visual Basic
Sub Reboot ( 
	timeout As Integer
)
Visual C++
void Reboot(
	int timeout
)

Parameters

timeout
Type: System..::..Int32
Timeout value

Examples

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

See Also