This documentation is archived and is not being maintained.

CryptoStream Methods

The CryptoStream type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework BeginRead Begins an asynchronous read operation. (Inherited from Stream.)
Public method Supported by the .NET Compact Framework BeginWrite Begins an asynchronous write operation. (Inherited from Stream.)
Public method Supported by the .NET Compact Framework Clear Releases all resources used by the CryptoStream.
Public method Supported by the .NET Compact Framework Close Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. (Inherited from Stream.)
Public method 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.)
Protected method Supported by the .NET Compact Framework CreateWaitHandle Obsolete. Allocates a WaitHandle object. (Inherited from Stream.)
Public method Supported by the .NET Compact Framework Dispose Overloaded.
Public method Supported by the .NET Compact Framework EndRead Waits for the pending asynchronous read to complete. (Inherited from Stream.)
Public method Supported by the .NET Compact Framework EndWrite Ends an asynchronous write operation. (Inherited from Stream.)
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Flush Clears all buffers for this stream and causes any buffered data to be written to the underlying device. (Overrides Stream.Flush().)
Public method Supported by the .NET Compact Framework FlushFinalBlock Updates the underlying data source or repository with the current state of the buffer, then clears the buffer.
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method Supported by the .NET Compact Framework MemberwiseClone Overloaded.
Public method Supported by the .NET Compact Framework Read Reads a sequence of bytes from the current CryptoStream and advances the position within the stream by the number of bytes read. (Overrides Stream.Read(Byte[], Int32, Int32).)
Public method Supported by the .NET Compact Framework 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.)
Public method Supported by the .NET Compact Framework Seek Sets the position within the current stream. (Overrides Stream.Seek(Int64, SeekOrigin).)
Public method Supported by the .NET Compact Framework SetLength Sets the length of the current stream. (Overrides Stream.SetLength(Int64).)
Public method Supported by the .NET Compact Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Write Writes a sequence of bytes to the current CryptoStream and advances the current position within this stream by the number of bytes written. (Overrides Stream.Write(Byte[], Int32, Int32).)
Public method Supported by the .NET Compact Framework WriteByte Writes a byte to the current position in the stream and advances the position within the stream by one byte. (Inherited from Stream.)
Top
Show: