Mentalis.org Security Library documentation

SecureNetworkStream Methods

The methods of the SecureNetworkStream class are listed below. For a complete list of SecureNetworkStream class members, see the SecureNetworkStream Members topic.

Public Instance Methods

BeginRead Begins an asynchronous read from a stream.
BeginWrite Begins an asynchronous write to a stream.
Close Closes the stream and optionally closes the underlying SecureSocket.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
EndRead Handles the end of an asynchronous read.
EndWrite Handles the end of an asynchronous write.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Flush Flushes data from the stream. This method is reserved for future use.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
Read Reads data from the stream.
ReadByte (inherited from Stream)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.
Seek Sets the current position of the stream to the given value. This method always throws a NotSupportedException.
SetLength Sets the length of the stream. This method always throws a NotSupportedException.
ToString (inherited from Object)Returns a String that represents the current Object.
Write Writes data to the stream.
WriteByte (inherited from Stream)Writes a byte to the current position in the stream and advances the position within the stream by one byte.

Protected Instance Methods

CreateWaitHandle (inherited from Stream)Allocates a WaitHandle object.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

Explicit Interface Implementations

IDisposable.Dispose (inherited from Stream)

See Also

SecureNetworkStream Class | Org.Mentalis.Security.Ssl Namespace