UnprotectFile

<< Click to Display Table of Contents >>

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

UnprotectFile

Previous pageReturn to chapter overviewNext page

Decrypts the file.

 

inFile - A file containing data encrypted using the ProtectFile method.

outFile - A file that contains the decrypted data.

optionalEntropy - An optional additional byte array that was used to encrypt the data, or null if the additional byte array was not used.

scope - One of the enumeration values that specifies the scope of data protection that was used to encrypt the data.

 

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