Click or drag to resize

NeonVaultEncrypt Method (Stream, Stream, String)

Encrypts a stream to another stream.

Namespace:  Neon.Cryptography
Assembly:  Neon.Cryptography (in Neon.Cryptography.dll) Version: 2.2.0
Syntax
public void Encrypt(
	Stream source,
	Stream target,
	string passwordName
)

Parameters

source
Type: System.IOStream
The source stream.
target
Type: System.IOStream
The target stream.
passwordName
Type: SystemString
Identifies the password.
Exceptions
ExceptionCondition
CryptographicExceptionThrown if the password was not found or for other encryption problems.
See Also