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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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