Telnet Factory for .NET

TelnetTask.IsRunning Method 

Checks if this TelnetTask is running.

public bool IsRunning();

Return Value

True if active, false otherwise.

Example

To check if a task is running, invoke the IsRunning method. In this example, the last task (denoted by Tail) is checked if running.

[CS]
// Check if last task is running
while (script.Tail.IsRunning()) {
    // other process
}

[Visual Basic]
' Check if last task is running
While (script.Tail.IsRunning()) 
    ' other process
End While

See Also

TelnetTask Class | Jscape.Telnet Namespace