Click or drag to resize

FileCompressorCompress(String, String, CompressionStrength, ActionProcessProgressInt64) Method

Compress a file using specified compression strength (not PKZip compatible...)

Namespace: GSF.IO.Compression
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public static void Compress(
	string sourceFileName,
	string destinationFileName,
	CompressionStrength strength,
	Action<ProcessProgress<long>> progressHandler
)
View Source

Parameters

sourceFileName  String
Source file name.
destinationFileName  String
Destination file name.
strength  CompressionStrength
Stength of compression to apply.
progressHandler  ActionProcessProgressInt64
User function to call with compression progress updates.
See Also