Click or drag to resize

NeonVaultEncrypt Method (Stream, String, String)

Encrypts a stream to a file.

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

Parameters

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