ProtectToFile

<< Click to Display Table of Contents >>

Navigation:  EasyDotNet documentation > Classes > TProtectedData class > Methods >

ProtectToFile

Previous pageReturn to chapter overviewNext page

Encrypts the data in a specified byte array and saves the encrypted data in a file.

 

userData - A byte array that contains data to encrypt.

outFile - A file representing the encrypted data.

optionalEntropy - An optional additional byte array used to increase the complexity of the encryption, or null for no additional complexity.

scope - One of the enumeration values that specifies the scope of encryption.

 

ProtectToFile                   PROCEDURE(STRING userData, STRING outFile, <STRING optionalEntropy>, DataProtectionScopeEnum scope = DataProtectionScope::CurrentUser), BOOL, PROC