FileEncrypt Method (String, PathFormat) |
[AlphaFS] Encrypts a file so that only the account used to encrypt the file can decrypt it.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static void Encrypt(
string path,
PathFormat pathFormat
)
Public Shared Sub Encrypt (
path As String,
pathFormat As PathFormat
)
public:
static void Encrypt(
String^ path,
PathFormat pathFormat
)
static member Encrypt :
path : string *
pathFormat : PathFormat -> unit
Parameters
- path
- Type: SystemString
A path that describes a file to encrypt. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
See Also