Initializes a new instance of the ZipStream class with specified underlaying stream, name, read/write mode, compression level and password.
This method uses password to initialize encryption/decryption header and uses specified compresion level. In this contructor you can specify also crypt seed, which is used to check for valid password. If this value is default (-1), as in constructor without this parameter, as a seed is used CRC of password. Its something like password pair. If you crypt stream with password and seed, to decrypt it you need specify both; password and seed. In standart zip archives is used as seed CRC or date of the file. Disabling of computing CRC can speed up compression or decempression.
ZipStream Class | Resco.IO.Zip Namespace | ZipStream Constructor Overload List