Deployment Tools Foundation
CabFileInfo Class
Object representing a compressed file within a cabinet package; provides operations for getting
the file properties and extracting the file.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
[SerializableAttribute] public class CabFileInfo : ArchiveFileInfo
<SerializableAttribute> Public Class CabFileInfo Inherits ArchiveFileInfo
[SerializableAttribute] public ref class CabFileInfo : public ArchiveFileInfo
[<SerializableAttribute>] type CabFileInfo = class inherit ArchiveFileInfo end
Members
All Members | Constructors | Methods | Properties | Fields | |
|
|
|
Icon | Member | Description |
---|---|---|
CabFileInfo(CabInfo, String) |
Creates a new CabinetFileInfo object representing a file within a cabinet in a specified path.
|
|
CabFileInfo(SerializationInfo, StreamingContext) |
Initializes a new instance of the CabinetFileInfo 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.) |
|
Cabinet |
Gets or sets the cabinet that contains this file.
|
|
CabinetFolderNumber |
Gets the number of the folder containing this file.
|
|
CabinetName |
Gets the full path of the cabinet that contains 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(ArchiveFileInfo) |
Refreshes the information in this object with new data retrieved
from an archive.
(Overrides ArchiveFileInfo.Refresh(ArchiveFileInfo).) |
|
Refresh()()()() |
Refreshes the attributes and other cached information about the file,
by re-reading the information from the archive.
(Inherited from ArchiveFileInfo.) |
|
ToString()()()() |
Gets the full path to the file.
(Inherited from ArchiveFileInfo.) |
Inheritance Hierarchy
Object | ||||
MarshalByRefObject | ||||
FileSystemInfo | ||||
ArchiveFileInfo | ||||
CabFileInfo |
Assembly: Microsoft.Deployment.Compression.Cab (Module: Microsoft.Deployment.Compression.Cab.dll) Version: 3.0.0.0 (3.11.1.2318)