Deployment Tools Foundation
ArchiveInfo Class
Abstract object representing a compressed archive on disk;
provides access to file-based operations on the archive.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
[SerializableAttribute] public abstract class ArchiveInfo : FileSystemInfo
<SerializableAttribute> Public MustInherit Class ArchiveInfo Inherits FileSystemInfo
[SerializableAttribute] public ref class ArchiveInfo abstract : public FileSystemInfo
[<AbstractClassAttribute>] [<SerializableAttribute>] type ArchiveInfo = class inherit FileSystemInfo end
Members
All Members | Constructors | Methods | Properties | Fields | |
|
|
|
Icon | Member | Description |
---|---|---|
ArchiveInfo(String) |
Creates a new ArchiveInfo object representing an archive in a
specified path.
|
|
ArchiveInfo(SerializationInfo, StreamingContext) |
Initializes a new instance of the ArchiveInfo class with serialized data.
|
|
Attributes | Gets or sets the attributes for the current file or directory. (Inherited from FileSystemInfo.) |
|
CopyTo(String) |
Copies an existing archive to another location.
|
|
CopyTo(String, Boolean) |
Copies an existing archive to another location, optionally
overwriting the destination file.
|
|
CreateCompressionEngine()()()() |
Creates a compression engine that does the low-level work for
this object.
|
|
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 archive.
(Overrides FileSystemInfo.Delete()()()().) |
|
Directory |
Gets the directory that contains the archive.
|
|
DirectoryName |
Gets the full path of the directory that contains the archive.
|
|
Equals(Object) | (Inherited from Object.) |
|
Exists |
Checks if the archive exists.
(Overrides FileSystemInfo.Exists.) |
|
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 of the directory or file. (Inherited from FileSystemInfo.) |
|
FullPath | Represents the fully qualified path of the directory or file. (Inherited from FileSystemInfo.) |
|
GetFiles()()()() |
Gets information about the files contained in the archive.
|
|
GetFiles(String) |
Gets information about the certain files contained in the archive file.
|
|
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 object with the file name and additional exception information. (Inherited from FileSystemInfo.) |
|
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.) |
|
IsValid()()()() |
Checks if the archive contains a valid archive header.
|
|
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 or sets the time when the current file or directory was last written to. (Inherited from FileSystemInfo.) |
|
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 size of the archive.
|
|
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.) |
|
MoveTo(String) |
Moves an existing archive to another location.
|
|
Name |
Gets the file name of the archive.
(Overrides FileSystemInfo.Name.) |
|
OpenRead(String) |
Opens a file inside the archive for reading without actually
extracting the file to disk.
|
|
OpenText(String) |
Opens a file inside the archive for reading text with UTF-8 encoding
without actually extracting the file to disk.
|
|
OriginalPath | The path originally specified by the user, whether relative or absolute. (Inherited from FileSystemInfo.) |
|
Pack(String) |
Compresses all files in a directory into the archive.
Does not include subdirectories.
|
|
Pack(String, Boolean, CompressionLevel, EventHandler<(Of <<'(ArchiveProgressEventArgs>)>>)) |
Compresses all files in a directory into the archive, optionally
including subdirectories.
|
|
PackFiles(String, IList<(Of <<'(String>)>>), IList<(Of <<'(String>)>>)) |
Compresses files into the archive, specifying the names used to
store the files in the archive.
|
|
PackFiles(String, IList<(Of <<'(String>)>>), IList<(Of <<'(String>)>>), CompressionLevel, EventHandler<(Of <<'(ArchiveProgressEventArgs>)>>)) |
Compresses files into the archive, specifying the names used to
store the files in the archive.
|
|
PackFileSet(String, IDictionary<(Of <<'(String, String>)>>)) |
Compresses files into the archive, specifying the names used
to store the files in the archive.
|
|
PackFileSet(String, IDictionary<(Of <<'(String, String>)>>), CompressionLevel, EventHandler<(Of <<'(ArchiveProgressEventArgs>)>>)) |
Compresses files into the archive, specifying the names used to
store the files in the archive.
|
|
Refresh()()()() | Refreshes the state of the object. (Inherited from FileSystemInfo.) |
|
ToString()()()() |
Gets the full path of the archive.
(Overrides Object.ToString()()()().) |
|
Unpack(String) |
Extracts all files from an archive to a destination directory.
|
|
Unpack(String, EventHandler<(Of <<'(ArchiveProgressEventArgs>)>>)) |
Extracts all files from an archive to a destination directory,
optionally extracting only newer files.
|
|
UnpackFile(String, String) |
Extracts a single file from the archive.
|
|
UnpackFiles(IList<(Of <<'(String>)>>), String, IList<(Of <<'(String>)>>)) |
Extracts multiple files from the archive.
|
|
UnpackFiles(IList<(Of <<'(String>)>>), String, IList<(Of <<'(String>)>>), EventHandler<(Of <<'(ArchiveProgressEventArgs>)>>)) |
Extracts multiple files from the archive, optionally extracting
only newer files.
|
|
UnpackFileSet(IDictionary<(Of <<'(String, String>)>>), String) |
Extracts multiple files from the archive.
|
|
UnpackFileSet(IDictionary<(Of <<'(String, String>)>>), String, EventHandler<(Of <<'(ArchiveProgressEventArgs>)>>)) |
Extracts multiple files from the archive.
|
Inheritance Hierarchy
Object | ||||
MarshalByRefObject | ||||
FileSystemInfo | ||||
ArchiveInfo | ||||
CabInfo | ||||
ZipInfo |
Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.11.1.2318)