Click or drag to resize

EncryptionManagerEncryptFile Method

Encrypts a file

Namespace:  PsrApi.Managers
Assembly:  PsrApi (in PsrApi.dll) Version: 8.13.13.27522 (14.03.2022)
Syntax
C#
public void EncryptFile(
	byte[] key,
	string plainFilePath,
	string encryptedFilePath
)

Parameters

key
Type: SystemByte
The key to encrypt the file
plainFilePath
Type: SystemString
The plain source file
encryptedFilePath
Type: SystemString
The path to the file where the encrypted file gets created
See Also