CryptoStream Methods
.NET Framework 2.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| BeginRead | Begins an asynchronous read operation. (Inherited from Stream.) |
| BeginWrite | Begins an asynchronous write operation. (Inherited from Stream.) |
| Clear | Releases all resources used by the CryptoStream. |
| Close | Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. (Inherited from Stream.) |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
| Dispose | Overloaded. |
| EndRead | Waits for the pending asynchronous read to complete. (Inherited from Stream.) |
| EndWrite | Ends an asynchronous write operation. (Inherited from Stream.) |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| 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 | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
| 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 | 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 Stream.) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| Seek | Overridden. Sets the position within the current stream. |
| SetLength | Overridden. Sets the length of the current stream. |
| Synchronized | Creates a thread-safe (synchronized) wrapper around the specified Stream object. (Inherited from Stream.) |
| ToString | Returns a String that represents the current Object. (Inherited from 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 | Writes a byte to the current position in the stream and advances the position within the stream by one byte. (Inherited from Stream.) |
| Name | Description | |
|---|---|---|
| CreateWaitHandle | Allocates a WaitHandle object. (Inherited from Stream.) |
| Dispose | Overloaded. Overridden. |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Overloaded. (Inherited from MarshalByRefObject.) |
| Name | Description | |
|---|---|---|
| System.IDisposable.Dispose | Releases the unmanaged resources used by the CryptoStream and optionally releases the managed resources. |
Reference
CryptoStream ClassSystem.Security.Cryptography Namespace