Checks if this TelnetTask is running.
Namespace: Jscape.TelnetAssembly: Jscape.Telnet (in Jscape.Telnet.dll) Version: 2.6.1.0
Syntax
C# |
---|
public bool IsRunning() |
Visual Basic |
---|
Public Function IsRunning As Boolean |
Visual C++ |
---|
public: bool IsRunning() |
Return Value
True if active, false otherwise.
Examples
To check if a task is running, invoke the IsRunning method.
In this example, the last task (denoted by Tail) is checked if running.
CopyIsRunning
CopyIsRunning

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

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