Deployment Tools Foundation
ZipFileInfo Class
Object representing a compressed file within a zip package; provides operations for getting
the file properties and extracting the file.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class ZipFileInfo : ArchiveFileInfo
<SerializableAttribute> Public Class ZipFileInfo Inherits ArchiveFileInfo
[SerializableAttribute] public ref class ZipFileInfo : public ArchiveFileInfo
Members
All Members | Constructors | Methods | Properties | Fields | |
|
|
|
Icon | Member | Description |
---|---|---|
ZipFileInfo(ZipInfo, String) |
Creates a new ZipFileInfo object representing a file within a zip in a specified path.
|
|
ZipFileInfo(SerializationInfo, StreamingContext) |
Initializes a new instance of the ZipFileInfo class with serialized data.
|
|
Archive |
Gets or sets the archive that contains this file.
(Inherited from ArchiveFileInfo.) |
|
ArchiveName |
Gets the full path of the archive that contains this file.
(Inherited from ArchiveFileInfo.) |
|
ArchiveNumber |
Gets the number of the archive where this file starts.
(Inherited from ArchiveFileInfo.) |
|
Attributes |
Gets the attributes of the file.
(Inherited from ArchiveFileInfo.) |
|
CompressedLength |
Gets the compressed size of the file in bytes.
|
|
CompressionMethod |
Gets the method used to compress this file.
|
|
CopyTo(String) |
Extracts the file.
(Inherited from ArchiveFileInfo.) |
|
CopyTo(String, Boolean) |
Extracts the file, optionally overwriting any existing file.
(Inherited from ArchiveFileInfo.) |
|
CreateObjRef(Type) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
|
CreationTime | Gets or sets the creation time of the current file or directory. (Inherited from FileSystemInfo.) |
|
CreationTimeUtc | Gets or sets the creation time, in coordinated universal time (UTC), of the current file or directory. (Inherited from FileSystemInfo.) |
|
Delete()()()() |
Deletes the file. NOT SUPPORTED.
(Inherited from ArchiveFileInfo.) |
|
Equals(Object) | (Inherited from Object.) |
|
Exists |
Checks if the file exists within the archive.
(Inherited from ArchiveFileInfo.) |
|
Extension | Gets the string representing the extension part of the file. (Inherited from FileSystemInfo.) |
|
Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
FullName |
Gets the full path to the file.
(Inherited from ArchiveFileInfo.) |
|
FullPath | Represents the fully qualified path of the directory or file. (Inherited from FileSystemInfo.) |
|
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetLifetimeService()()()() | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
GetObjectData(SerializationInfo, StreamingContext) |
Sets the SerializationInfo with information about the archive.
(Overrides ArchiveFileInfo.GetObjectData(SerializationInfo, StreamingContext).) |
|
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
|
InitializeLifetimeService()()()() | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
LastAccessTime | Gets or sets the time the current file or directory was last accessed. (Inherited from FileSystemInfo.) |
|
LastAccessTimeUtc | Gets or sets the time, in coordinated universal time (UTC), that the current file or directory was last accessed. (Inherited from FileSystemInfo.) |
|
LastWriteTime |
Gets the last modification time of the file.
(Inherited from ArchiveFileInfo.) |
|
LastWriteTimeUtc | Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to. (Inherited from FileSystemInfo.) |
|
Length |
Gets the uncompressed size of the file.
(Inherited from ArchiveFileInfo.) |
|
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
|
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Name |
Gets the name of the file.
(Inherited from ArchiveFileInfo.) |
|
OpenRead()()()() |
Opens the archive file for reading without actually extracting the
file to disk.
(Inherited from ArchiveFileInfo.) |
|
OpenText()()()() |
Opens the archive file reading text with UTF-8 encoding without
actually extracting the file to disk.
(Inherited from ArchiveFileInfo.) |
|
OriginalPath | The path originally specified by the user, whether relative or absolute. (Inherited from FileSystemInfo.) |
|
Path |
Gets the internal path of the file in the archive.
(Inherited from ArchiveFileInfo.) |
|
Refresh()()()() |
Refreshes the attributes and other cached information about the file,
by re-reading the information from the archive.
(Inherited from ArchiveFileInfo.) |
|
Refresh(ArchiveFileInfo) |
Refreshes the information in this object with new data retrieved
from an archive.
(Inherited from ArchiveFileInfo.) |
|
ToString()()()() |
Gets the full path to the file.
(Inherited from ArchiveFileInfo.) |
Inheritance Hierarchy
Object | ||||
MarshalByRefObject | ||||
FileSystemInfo | ||||
ArchiveFileInfo | ||||
ZipFileInfo |
Assembly: Microsoft.Deployment.Compression.Zip (Module: Microsoft.Deployment.Compression.Zip.dll) Version: 3.0.0.0 (3.9.1006.0)