The Scripting type exposes the following members.

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkAutoMatchPrompt
Gets or sets whether to automatically match prompt in WaitFor(ScriptEvent), ReadUntil(ScriptEvent), ReadUntilPrompt()()()(), ReadLine()()()(), ReadChar()()()() and CheckFor(ScriptEvent) methods. Default value is false.
Public propertySupported by the .NET Compact FrameworkFinalExitCode
Gets the exit code of the receiving channel when the connection was closed.
Public propertySupported by the .NET Compact FrameworkHoldReceivedData
Gets or sets a value indicating whether to hold received data in DataReceived()()()() property. Default value is true.
Public propertySupported by the .NET Compact FrameworkLastResult
Gets the result of last called ReadUntilPrompt()()()(), ReadLine()()()(), ReadChar()()()() or ReadUntil(ScriptEvent) method. Please note that calling other scripting methods reset this to null.
Public propertySupported by the .NET Compact FrameworkPrompt
Gets or sets the sequence that is used to detect command prompt. To use regular expressions, prepend the string with "regex:". To use wildcards, prepend the string with "mask:". Prompt sequence is used by ReadUntilPrompt()()()() method (and other methods if Prompt is specified). To detect the current prompt automatically , use DetectPrompt()()()() method.
Public propertySupported by the .NET Compact FrameworkReceivedData
Gets data received since the previous data-receiving method. If HoldReceivedData is set to false, this returns null.
Public propertySupported by the .NET Compact FrameworkTerminal
Gets the containing terminal object.
Public propertySupported by the .NET Compact FrameworkTimeout
Gets or sets the timeout for receiving data in milliseconds. Default value is one minute.
Public propertySupported by the .NET Compact FrameworkTrimReadUntilResponse
Gets or sets a value indicating whether ReadUntilPrompt()()()(), ReadLine()()()(), ReadChar()()()() and ReadUntil(ScriptEvent) methods remove the prompt or end-of-line from the returned value. Default value is true.

See Also