Click or drag to resize
FileInfo Class
Implementation of FileInfo class for Amazon S3 object.
Inheritance Hierarchy
SystemObject
  CMS.IOFileInfo
    CMS.AmazonStorageFileInfo

Namespace: CMS.AmazonStorage
Assembly: CMS.AmazonStorage (in CMS.AmazonStorage.dll) Version: 13.0.131
Syntax
C#
public class FileInfo : FileInfo

The FileInfo type exposes the following members.

Constructors
  NameDescription
Public methodFileInfo
Initializes new instance of FileInfo class.
Top
Fields
  NameDescription
Protected fieldmSystemInfo
System.IO file info object corresponding to this file
(Inherited from FileInfo.)
Top
Properties
  NameDescription
Public propertyAttributes
File attributes.
(Overrides FileInfoAttributes.)
Public propertyCreationTime
Creation date of file.
(Overrides FileInfoCreationTime.)
Public propertyDirectory
Directory of file.
(Overrides FileInfoDirectory.)
Public propertyDirectoryName
Directory name.
(Overrides FileInfoDirectoryName.)
Public propertyExists
If file exists.
(Overrides FileInfoExists.)
Public propertyExtension
File extension.
(Overrides FileInfoExtension.)
Public propertyFullName
Full name of file (with whole path).
(Overrides FileInfoFullName.)
Public propertyIsReadOnly
If is read only.
(Overrides FileInfoIsReadOnly.)
Public propertyLastAccessTime
Last access time.
(Overrides FileInfoLastAccessTime.)
Public propertyLastWriteTime
Last write time to file.
(Overrides FileInfoLastWriteTime.)
Public propertyLength
Length of file.
(Overrides FileInfoLength.)
Public propertyName
File name of file (without path).
(Overrides FileInfoName.)
Public propertySystemInfo
System.IO file info object corresponding to this file
(Inherited from FileInfo.)
Top
Methods
  NameDescription
Public methodCopyTo(String)
Copies current file to destination.
(Inherited from FileInfo.)
Public methodCopyTo(String, Boolean)
Copies current file to destination.
(Inherited from FileInfo.)
Protected methodCopyToInternal
Copies current file to destination.
(Overrides FileInfoCopyToInternal(String, Boolean).)
Public methodCreateText
Creates or opens a file for writing UTF-8 encoded text.
(Inherited from FileInfo.)
Protected methodCreateTextInternal
Creates or opens a file for writing UTF-8 encoded text.
(Overrides FileInfoCreateTextInternal.)
Public methodDelete
Deletes file.
(Inherited from FileInfo.)
Protected methodDeleteInternal
Deletes file.
(Overrides FileInfoDeleteInternal.)
Public methodMoveTo
Moves an existing file to a new file.
(Inherited from FileInfo.)
Protected methodMoveToInternal
Moves an existing file to a new file.
(Overrides FileInfoMoveToInternal(String).)
Public methodOpenRead
Creates a read-only ICMSFileStream.
(Inherited from FileInfo.)
Protected methodOpenReadInternal
Creates a read-only ICMSFileStream.
(Overrides FileInfoOpenReadInternal.)
Public methodOpenText
Creates a StreamReader with UTF8 encoding that reads from an existing text file.
(Inherited from FileInfo.)
Protected methodOpenTextInternal
Creates a StreamReader with UTF8 encoding that reads from an existing text file.
(Overrides FileInfoOpenTextInternal.)
Public methodToString
Converts current info to string.
(Overrides ObjectToString.)
Top
See Also