PowerTCP Zip Compression for .NET
ZipEncryptingStream Constructor




When reading, the data stream to be encrypted. When writing, the stream to be filled with encrypted data.
The password to be used for encryption.
The CRC (cyclic redundancy check) number to be saved in the header.
Creates a stream that will apply standard Zip encryption to data passing through it.
Syntax
Public Function New( _
   ByVal innerStream As Stream, _
   ByVal password As String, _
   ByVal crc As Long _
)
Dim innerStream As Stream
Dim password As String
Dim crc As Long
 
Dim instance As New ZipEncryptingStream(innerStream, password, crc)
public ZipEncryptingStream( 
   Stream innerStream,
   string password,
   long crc
)
public: ZipEncryptingStream( 
   Stream* innerStream,
   string* password,
   long crc
)
public:
ZipEncryptingStream( 
   Stream^ innerStream,
   String^ password,
   int64 crc
)

Parameters

innerStream
When reading, the data stream to be encrypted. When writing, the stream to be filled with encrypted data.
password
The password to be used for encryption.
crc
The CRC (cyclic redundancy check) number to be saved in the header.
Remarks

Standard Zip encryption will be applied to all bytes passing through this stream. Header bytes are automatically added.

See Also

Reference

ZipEncryptingStream Class
ZipEncryptingStream Members


PowerTCP Zip for .NET Documentation Version 2.1.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic