The ShellStream type exposes the following members.
Back to Top
Methods
| Name | Description | |
|---|---|---|
| BeginExpect( ExpectAction ) |
Begins the expect.
| |
| BeginExpect(AsyncCallback, ExpectAction ) |
Begins the expect.
| |
| BeginExpect(AsyncCallback, Object, ExpectAction ) |
Begins the expect.
| |
| BeginExpect(TimeSpan, AsyncCallback, Object, ExpectAction ) |
Begins the expect.
| |
Begins an asynchronous read operation. (Inherited from | ||
Begins an asynchronous write operation. (Inherited from | ||
Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. (Inherited from | ||
Reads all the bytes from the current stream and writes them to the destination stream. (Inherited from | ||
Reads all the bytes from the current stream and writes them to a destination stream, using a specified buffer size. (Inherited from | ||
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from | ||
| Obsolete. Allocates a (Inherited from | ||
Releases all resources used by the (Inherited from | ||
| Dispose(Boolean) |
Releases the unmanaged resources used by the (Overrides | |
| EndExpect |
Ends the execute.
| |
Waits for the pending asynchronous read to complete. (Inherited from | ||
Ends an asynchronous write operation. (Inherited from | ||
| (Inherited from | ||
| Expect(String) |
Expects the expression specified by text.
| |
| Expect(Regex) |
Expects the expression specified by regular expression.
| |
| Expect( ExpectAction ) |
Expects the specified expression and performs action when one is found.
| |
| Expect(String, TimeSpan) |
Expects the expression specified by text.
| |
| Expect(Regex, TimeSpan) |
Expects the expression specified by regular expression.
| |
| Expect(TimeSpan, ExpectAction ) |
Expects the specified expression and performs action when one is found.
| |
Allows an (Inherited from | ||
| Flush |
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
(Overrides | |
Serves as a hash function for a particular type. (Inherited from | ||
Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from | ||
Gets the (Inherited from | ||
Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
Provides support for a (Inherited from | ||
| Read |
Reads text available in the shell.
| |
| Read( Byte , Int32, Int32) |
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
(Overrides | |
Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. (Inherited from | ||
| ReadLine |
Reads the line from the shell. If line is not available it will block the execution and will wait for new line.
| |
| ReadLine(TimeSpan) |
Reads the line from the shell. If line is not available it will block the execution and will wait for new line.
| |
| Seek |
This method is not supported.
(Overrides | |
| SetLength |
This method is not supported.
(Overrides | |
| (Inherited from | ||
| WaitHandle |
Waits for the handle to be signaled or for an error to occurs.
| |
| Write(String) |
Writes the specified text to the shell.
| |
| Write( Byte , Int32, Int32) |
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
(Overrides | |
Writes a byte to the current position in the stream and advances the position within the stream by one byte. (Inherited from | ||
| WriteLine |
Writes the line to the shell.
|
See Also