Xceed .NET Libraries Documentation
GZipHeader Constructor(Boolean,Boolean,DateTime,Byte[],String,String)


Xceed.Compression.Formats Assembly > Xceed.Compression.Formats Namespace > GZipHeader Class > GZipHeader Constructor : GZipHeader Constructor(Boolean,Boolean,DateTime,Byte[],String,String)
true if the data to compress has been retrieved from a text file; false otherwise.
true if the header as a checksum; false otherwise.
A System.DateTime value representing the last modification date/time.
An array containing the possible extra headers.
A string representing the header's filename.
The header's comment. Can be System.String.Empty is there is no comment.
Initializes a new instance of the GZipHeader class specifying the necessary parameter values.
Syntax
'Declaration
 
Public Function New( _

   ByVal isTextFile As Boolean, _

   ByVal hasHeaderChecksum As Boolean, _

   ByVal lastWriteDateTime As Date, _

   ByVal extraHeader() As Byte, _

   ByVal fileName As String, _

   ByVal comment As String _

)
'Usage
 
Dim isTextFile As Boolean

Dim hasHeaderChecksum As Boolean

Dim lastWriteDateTime As Date

Dim extraHeader() As Byte

Dim fileName As String

Dim comment As String

 

Dim instance As New GZipHeader(isTextFile, hasHeaderChecksum, lastWriteDateTime, extraHeader, fileName, comment)
public GZipHeader( 

   bool isTextFile,

   bool hasHeaderChecksum,

   DateTime lastWriteDateTime,

   byte[] extraHeader,

   string fileName,

   string comment

)

Parameters

isTextFile
true if the data to compress has been retrieved from a text file; false otherwise.
hasHeaderChecksum
true if the header as a checksum; false otherwise.
lastWriteDateTime
A System.DateTime value representing the last modification date/time.
extraHeader
An array containing the possible extra headers.
fileName
A string representing the header's filename.
comment
The header's comment. Can be System.String.Empty is there is no comment.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GZipHeader Class
GZipHeader Members
Overload List