DirectoryInfoEnableEncryption Method |
[AlphaFS] Enables encryption of the specified directory and the files in it. It does not affect encryption of subdirectories below the indicated directory.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public void EnableEncryption()
Public Sub EnableEncryption
public:
void EnableEncryption()
member EnableEncryption : unit -> unit
Return Value
Type:
on success,
otherwise.
Remarks This method will create/change the file "Desktop.ini" and wil set Encryption value: "Disable=1"
See Also