DirectoryEncrypt Method (String, Boolean, PathFormat) |
[AlphaFS] Encrypts a directory so that only the account used to encrypt the directory can decrypt it.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static void Encrypt(
string path,
bool recursive,
PathFormat pathFormat
)
Public Shared Sub Encrypt (
path As String,
recursive As Boolean,
pathFormat As PathFormat
)
public:
static void Encrypt(
String^ path,
bool recursive,
PathFormat pathFormat
)
static member Encrypt :
path : string *
recursive : bool *
pathFormat : PathFormat -> unit
Parameters
- path
- Type: SystemString
A path that describes a directory to encrypt. - recursive
- Type: SystemBoolean
to encrypt the directory recursively. only encrypt files and directories in the root of path. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
See Also