CopyTo(Stream, Stream) |
Copies the source Stream into the destination one.
Copy begins on the current position of source stream. None of the streams are closed or sought after
the end of the copy progress.
|
CopyTo(Stream, Stream, Int32) |
Copies the source Stream into the destination one.
Copy begins on the current position of source stream. None of the streams are closed or sought after
the end of the copy progress.
|
Decrypt(Stream, Stream, Byte, Byte) |
Decrypts a source stream by the Aes algorithm using the provided key and initialization vector,
and writes the decrypted result to the destination stream. Both streams remain open after the decryption is done.
|
Decrypt(Stream, Stream, String, Byte) |
Decrypts a source stream by the Aes algorithm using the provided password and salt,
and writes the decrypted result to the destination stream. Both streams remain open after the decryption is done.
|
Decrypt(Stream, Stream, SymmetricAlgorithm, Byte, Byte) |
Decrypts a source stream by the provided symmetric algorithm, key and initialization vector,
and writes the decrypted result to the destination stream. Both streams remain open after the decryption is done.
|
Decrypt(Stream, Stream, SymmetricAlgorithm, String, Byte) |
Decrypts a source stream by the provided symmetric algorithm, password and salt,
and writes the decrypted result to the destination stream. Both streams remain open after the decryption is done.
|
Encrypt(Stream, Stream, Byte, Byte) |
Encrypts a source stream by the Aes algorithm using a randomly generated key and initialization vector, which are
returned in key and iv parameters, respectively. The encrypted result is written to the destination stream.
Both streams remain open after the encryption is done.
|
Encrypt(Stream, Stream, String, Byte) |
Encrypts a source stream by the Aes algorithm using the provided password and a randomly generated salt,
and writes the encrypted result to the destination stream. Both streams remain open after the encryption is done.
|
Encrypt(Stream, Stream, SymmetricAlgorithm, Byte, Byte) |
Encrypts a source stream by the provided symmetric algorithm, key and iv,
and writes the encrypted result to the destination stream. Both streams remain open after the encryption is done.
|
Encrypt(Stream, Stream, SymmetricAlgorithm, Byte, Byte) |
Encrypts a source stream by the provided symmetric algorithm, using a randomly generated key and initialization vector, which are
returned in key and iv parameters, respectively. The encrypted result is written to the destination stream.
Both streams remain open after the encryption is done.
|
Encrypt(Stream, Stream, SymmetricAlgorithm, String, Byte) |
Encrypts a source stream by the provided symmetric algorithm and password, using a randomly generated salt,
and writes the encrypted result to the destination stream. Both streams remain open after the encryption is done.
|
ToArray |
Converts a stream to array of bytes. If the stream can be sought, its position will be the same as before calling this method.
|