This documentation is archived and is not being maintained.
.NET Framework 1.1
The methods of the CryptoStream class are listed here. For a complete list of CryptoStream class members, see the CryptoStream Members topic.
|BeginRead (inherited from Stream)||Begins an asynchronous read operation.|
|BeginWrite (inherited from Stream)||Begins an asynchronous write operation.|
|Clear||Releases all resources used by the CryptoStream.|
|Close||Overridden. Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.|
|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 (inherited from Stream)||Waits for the pending asynchronous read to complete.|
|EndWrite (inherited from Stream)||Ends an asynchronous write operation.|
|Equals (inherited from Object)||Overloaded. Determines whether two Object instances are equal.|
|Flush||Overridden. Clears all buffers for this stream and causes any buffered data to be written to the underlying device.|
|FlushFinalBlock||Updates the underlying data source or repository with the current state of the buffer, then clears the buffer.|
|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||Overridden. Reads a sequence of bytes from the current CryptoStream and advances the position within the stream by the number of bytes read.|
|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||Overridden. Sets the position within the current stream.|
|SetLength||Overridden. Sets the length of the current stream.|
|ToString (inherited from Object)||Returns a String that represents the current Object.|
|Write||Overridden. Writes a sequence of bytes to the current CryptoStream and advances the current position within this stream by the number of bytes written.|
|WriteByte (inherited from Stream)||Writes a byte to the current position in the stream and advances the position within the stream by one byte.|
|CreateWaitHandle (inherited from Stream)||Allocates a WaitHandle object.|
|Dispose||Releases the unmanaged resources used by the CryptoStream and optionally releases the managed resources.|
|Finalize||Overridden. Releases the unmanaged resources used by the CryptoStream.
In C# and C++, finalizers are expressed using destructor syntax.
|MemberwiseClone (inherited from Object)||Creates a shallow copy of the current Object.|