Click or drag to resize

CipherEncryptFile Method

Creates an encrypted file from source file data.

Namespace: GSF.Security.Cryptography
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public static void EncryptFile(
	string sourceFileName,
	string destinationFileName,
	string password,
	CipherStrength strength,
	Action<ProcessProgress<long>> progressHandler
)
View Source

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