Skip to content

ZipFileInfo Class

Object representing a compressed file within a zip package; provides operations for getting the file properties and extracting the file.

MethodDescription
GetObjectData(info, context)Sets the SerializationInfo with information about the archive.
PropertyDescription
CompressedLengthGets the compressed size of the file in bytes.
CompressionMethodGets the method used to compress this file.
WixToolset.Dtf.Compression.Zip.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

Sets the SerializationInfo with information about the archive.

public void GetObjectData(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context
)
ParameterTypeDescription
infoSystem.Runtime.Serialization.SerializationInfoThe SerializationInfo that holds the serialized object data.
contextSystem.Runtime.Serialization.StreamingContextThe StreamingContext that contains contextual information about the source or destination.

Gets the compressed size of the file in bytes.

public System.Int64 CompressedLength { get; set; }

Gets the method used to compress this file.

public ZipCompressionMethod CompressionMethod { get; set; }