Click or drag to resize

CryptoStream Methods

The CryptoStream type exposes the following members.

Methods
 NameDescription
Public methodBeginRead Begins an asynchronous read operation.
(Inherited from Stream)
Public methodBeginWrite Begins an asynchronous write operation.
(Inherited from Stream)
Public methodClear Releases all resources used by the Crestron.SimplSharp.Cryptography.CryptoStream.
Public methodClose Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
(Inherited from Stream)
Public methodDispose Releases all resources used by the Crestron.SimplSharp.CrestronStream.Stream.
(Inherited from Stream)
Protected methodDispose(Boolean) Releases the unmanaged resources used by the Stream and optionally releases the managed resources.
(Inherited from Stream)
Public methodEndRead Waits for the pending asynchronous read to complete.
(Inherited from Stream)
Public methodEndWrite Ends an asynchronous write operation.
(Inherited from Stream)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFlush Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
(Overrides StreamFlush)
Public methodFlushFinalBlock Updates the underlying data source or repository with the current state of the buffer, then clears the buffer.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRead Reads a sequence of bytes from the current Crestron.SimplSharp.Cryptography.CryptoStream and advances the position within the stream by the number of bytes read.
(Overrides StreamRead(Byte, Int32, Int32))
Public methodReadByte 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 methodSeek Sets the position within the current stream.
(Overrides StreamSeek(Int64, SeekOrigin))
Public methodSetLength Sets the length of the current stream.
(Overrides StreamSetLength(Int64))
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWrite Writes a sequence of bytes to the current Crestron.SimplSharp.Cryptography.CryptoStream and advances the current position within this stream by the number of bytes written.
(Overrides StreamWrite(Byte, Int32, Int32))
Public methodWriteByte Writes a byte to the current position in the stream and advances the position within the stream by one byte.
(Inherited from Stream)
Top
See Also