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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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