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.245-beta+94213ae9d4d0aa7a2c48e5398b12d267b99f868a
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