DirectoryEnableEncryption Method (String) |
[AlphaFS] Enables encryption of the specified directory and the files in it.
This method only creates/modifies the file "Desktop.ini" in the root of path and enables encryption by writing: "Disable=0"
This method does not affect encryption of files and subdirectories below the indicated directory.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static void EnableEncryption(
string path
)
Public Shared Sub EnableEncryption (
path As String
)
public:
static void EnableEncryption(
String^ path
)
static member EnableEncryption :
path : string -> unit
Parameters
- path
- Type: SystemString
The name of the directory for which to enable encryption.
Exceptions See Also