Class ZipFileInfo
FileInfo class for zip files
public sealed class ZipFileInfo : FileInfo- Inheritance
- 
      objectZipFileInfo
- Inherited Members
- Extension Methods
Constructors
ZipFileInfo(ZipStorageProvider, string)
Initializes new instance of FileInfo.
public ZipFileInfo(ZipStorageProvider provider, string filename)Parameters
- providerZipStorageProvider
- Parent provider 
- filenamestring
- File name 
Properties
Attributes
File attributes.
public override FileAttributes Attributes { get; set; }Property Value
CreationTime
Creation date of file.
public override DateTime CreationTime { get; set; }Property Value
- DateTime
Directory
Directory of file.
public override DirectoryInfo Directory { get; }Property Value
DirectoryName
Directory name.
public override string DirectoryName { get; }Property Value
- string
Exists
If file exists.
public override bool Exists { get; }Property Value
- bool
Extension
File extension.
public override string Extension { get; }Property Value
- string
FullName
Full name of file (with whole path).
public override string FullName { get; }Property Value
- string
IsReadOnly
If is read only.
public override bool IsReadOnly { get; set; }Property Value
- bool
LastAccessTime
Creation date of file.
public override DateTime LastAccessTime { get; set; }Property Value
- DateTime
LastWriteTime
Last write time to file.
public override DateTime LastWriteTime { get; set; }Property Value
- DateTime
Length
Length of file.
public override long Length { get; }Property Value
- long
Name
File name of file (without path).
public override string Name { get; }Property Value
- string
SystemInfo
System file info
public override FileInfo SystemInfo { get; }Property Value
- FileInfo
Methods
CopyToInternal(string, bool)
Copies current file to destination.
protected override FileInfo CopyToInternal(string destFileName, bool overwrite)Parameters
- destFileNamestring
- Destination file name. 
- overwritebool
- Indicates if existing file should be overwritten 
Returns
CreateTextInternal()
Creates or opens a file for writing UTF-8 encoded text.
protected override StreamWriter CreateTextInternal()Returns
DeleteInternal()
Deletes file.
protected override void DeleteInternal()MoveToInternal(string)
Copies an existing file to a new file, allowing the overwriting of an existing file.
protected override void MoveToInternal(string destFileName)Parameters
- destFileNamestring
- Destination file name 
OpenReadInternal()
Opens file for reading.
protected override FileStream OpenReadInternal()Returns
OpenTextInternal()
Creates a StreamReader with UTF8 encoding that reads from an existing text file.
protected override StreamReader OpenTextInternal()Returns
ToString()
Converts current info to string.
public override string ToString()Returns
- string