System.IOUtils.TFile.Decrypt
Delphi
class procedure Decrypt(const Path: string); static;
C++
static void __fastcall Decrypt(const System::UnicodeString Path);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.IOUtils.pas System.IOUtils.hpp |
System.IOUtils | TFile |
Description
Decrypts a file at a given path.
Use Decrypt to decrypt a given file using the operating system-provided facilities. The following table lists the parameters expected by this method:
Name | Meaning |
---|---|
Path |
The path to the file that is to be decrypted. |
Note: Decrypt raises an exception if the source file does not exist, the paths are invalid, or the user does not have enough privileges to perform the decryption.
Note: Decrypt is present only on the Windows platform, and can be used only on files that reside on NTFS (New Technology File System) partitions.