CipherEncryptFile Method

Creates an encrypted file from source file data.

Definition

Namespace: Gemstone.Security.Cryptography
Assembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.128 -- Release Build+bd1c1867941d4700e644c1451bb1298b1b27c8bc
public static void EncryptFile(
	string sourceFileName,
	string destinationFileName,
	string password,
	CipherStrength strength,
	Action<ProcessProgress<long>> progressHandler
)

Parameters

sourceFileName  String
Source file name.
destinationFileName  String
Destination file name.
password  String
User password used for key lookup.
strength  CipherStrength
Cryptographic strength to use when encrypting file.
progressHandler  ActionProcessProgressInt64
Optional delegate to handle progress updates for encrypting large files.

See Also