Click or drag to resize

EncryptionManagerEncryptFile Method

Encrypts a file

Namespace:  PsrApi.Managers
Assembly:  PsrApi (in PsrApi.dll) Version: 9.2.2.32703 (27.03.2025)+b9af25405a8dc67f2b73227b442cec4f08fd2d8a
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