Crypto |
public class CryptoStream : Stream
The CryptoStream type exposes the following members.
| Name | Description | |
|---|---|---|
| CryptoStream | Initializes a new instance of the Crestron.SimplSharp.Cryptography.CryptoStream class with a target data stream, the transformation to use, and the mode of the stream. |
| Name | Description | |
|---|---|---|
| CanRead |
Gets a value indicating whether the current Crestron.SimplSharp.Cryptography.CryptoStream is readable.
(Overrides StreamCanRead) | |
| CanSeek |
Gets a value indicating whether you can seek within the current Crestron.SimplSharp.Cryptography.CryptoStream.
(Overrides StreamCanSeek) | |
| CanTimeout |
Gets a value that determines whether the current stream can time out.
(Inherited from Stream) | |
| CanWrite |
Gets a value indicating whether the current Crestron.SimplSharp.Cryptography.CryptoStream is writable.
(Overrides StreamCanWrite) | |
| Length |
Gets the length in bytes of the stream.
(Overrides StreamLength) | |
| Position |
Gets or sets the position within the current stream.
(Overrides StreamPosition) | |
| ReadTimeout |
Gets or sets a value, in milliseconds, that determines how long the stream
will attempt to read before timing out.
(Inherited from Stream) | |
| WriteTimeout |
Gets or sets a value, in milliseconds, that determines how long the stream
will attempt to write before timing out.
(Inherited from Stream) |
| 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 Crestron.SimplSharp.Cryptography.CryptoStream. | |
| Close |
Closes the current stream and releases any resources (such as sockets and
file handles) associated with the current stream.
(Inherited from Stream) | |
| Dispose |
Releases all resources used by the Crestron.SimplSharp.CrestronStream.Stream.
(Inherited from Stream) | |
| Dispose(Boolean) |
Releases the unmanaged resources used by the Stream and optionally releases the managed resources.
(Inherited from Stream) | |
| EndRead |
Waits for the pending asynchronous read to complete.
(Inherited from Stream) | |
| EndWrite |
Ends an asynchronous write operation.
(Inherited from Stream) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| Flush |
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
(Overrides StreamFlush) | |
| FlushFinalBlock | Updates the underlying data source or repository with the current state of the buffer, then clears the buffer. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Read |
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)) | |
| 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) | |
| Seek |
Sets the position within the current stream.
(Overrides StreamSeek(Int64, SeekOrigin)) | |
| SetLength |
Sets the length of the current stream.
(Overrides StreamSetLength(Int64)) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| Write |
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)) | |
| WriteByte |
Writes a byte to the current position in the stream and advances the position
within the stream by one byte.
(Inherited from Stream) |