XzArchiveSettings.CompressionThreads

XzArchiveSettings.CompressionThreads property

Gets or sets compression thread count. If the value greater than 1, multithreading compression will be used.

public int CompressionThreads { get; set; }

Exceptions

exceptioncondition
ArgumentOutOfRangeExceptionThe number of threads is more than 100.

Remarks

Do not set this number more than CPU cores.

See Also