Click or drag to resize

DirectoryEncrypt Method (String, Boolean)

[AlphaFS] Encrypts a directory so that only the account used to encrypt the directory can decrypt it.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public static void Encrypt(
	string path,
	bool recursive
)

Parameters

path
Type: SystemString
A path that describes a directory to encrypt.
recursive
Type: SystemBoolean
to encrypt the directory recursively. only encrypt the directory.
Exceptions
See Also