ZipFileInfo Class
Object representing a compressed file within a zip package; provides operations for getting the file properties and extracting the file.
Methods
Method | Description |
---|---|
GetObjectData(info, context) | Sets the SerializationInfo with information about the archive. |
Properties
Property | Description |
---|---|
CompressedLength | Gets the compressed size of the file in bytes. |
CompressionMethod | Gets the method used to compress this file. |
WixToolset.Dtf.Compression.Zip.dll
version 5.0.2+aa65968c419420d32e3e1b647aea0082f5ca5b78
GetObjectData(info, context) Method
Sets the SerializationInfo with information about the archive.
Declaration
public void GetObjectData(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context
)
Parameters
Parameter | Type | Description |
---|---|---|
info | System.Runtime.Serialization.SerializationInfo | The SerializationInfo that holds the serialized object data. |
context | System.Runtime.Serialization.StreamingContext | The StreamingContext that contains contextual information about the source or destination. |
CompressedLength Property
Gets the compressed size of the file in bytes.
Declaration
public System.Int64 CompressedLength { get; set; }
CompressionMethod Property
Gets the method used to compress this file.
Declaration
public ZipCompressionMethod CompressionMethod { get; set; }