Click or drag to resize

Directory.Encrypt Method (String, Boolean, PathFormat)

[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.0
Syntax
public static void Encrypt(
	string path,
	bool recursive,
	PathFormat pathFormat
)

Parameters

path
Type: System.String
A path that describes a directory to encrypt.
recursive
Type: System.Boolean
true to encrypt the directory recursively. false only encrypt the directory.
pathFormat
Type: Alphaleonis.Win32.Filesystem.PathFormat
Indicates the format of the path parameter(s).
Exceptions
See Also