Mentalis.org Security Library documentation

SecureTcpClient.GetStream Method 

Returns the stream used to send and receive data.

[Visual Basic]
Overridable Public Function GetStream() As SecureNetworkStream
[C#]
public virtual SecureNetworkStream GetStream();

Return Value

The underlying SecureNetworkStream.

Exceptions

Exception TypeCondition
ObjectDisposedExceptionThe SecureTcpClient has been closed.
InvalidOperationExceptionThe SecureTcpClient is not connected to a remote host.

See Also

SecureTcpClient Class | SecureTcpClient Members | Org.Mentalis.Security.Ssl Namespace