DotNetCompression Class Reference for Windows Phone
CheckLength Property (GZipInputStream)






Gets and sets whether to check the length of uncompressed data.
Syntax
'Declaration
 
Public Property CheckLength As System.Boolean
'Usage
 
Dim instance As GZipInputStream
Dim value As System.Boolean
 
instance.CheckLength = value
 
value = instance.CheckLength
public System.bool CheckLength {get; set;}
public read-write property CheckLength: System.Boolean; 
public function get,set CheckLength : System.boolean
public: __property System.bool get_CheckLength();
public: __property void set_CheckLength( 
   System.bool value
);
public:
property System.bool CheckLength {
   System.bool get();
   void set (    System.bool value);
}

Property Value

true if the length of uncompressed data should be validated; otherwise false.
Remarks
The length check can fail on the files that are bigger than 4GB, since GZIP header does not support serializing bigger number. For this reason it's recommended to set this property to false in cases when original data might exceed the 4294967295 bytes.
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

GZipInputStream Class
GZipInputStream Members

Send Feedback