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.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
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