FileCompress Method (KernelTransaction, String) |
[AlphaFS] Compresses a file using NTFS compression.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static void Compress(
KernelTransaction transaction,
string path
)
Public Shared Sub Compress (
transaction As KernelTransaction,
path As String
)
public:
static void Compress(
KernelTransaction^ transaction,
String^ path
)
static member Compress :
transaction : KernelTransaction *
path : string -> unit
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
A path that describes a file to compress.
See Also