Click or drag to resize
DirectoryEnableEncryption Method (String)
[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.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static void EnableEncryption(
	string path
)

Parameters

path
Type: SystemString
The name of the directory for which to enable encryption.
Remarks
This method will create/change the file "Desktop.ini" and wil set Encryption value: "Disable=1"
See Also