The following tables list the members exposed by FileInfoBase.

      Protected Constructors

      NameDescription
      Protected ConstructorsFileInfoBase Constructor()Initializes a new instance of the FileInfoBase class.
      Top

      Public Properties

      NameDescription
      Public PropertiesAttributesGets the FileAttributes of the current FileInfoBase.
      Public PropertiesCreationTimeGets the creation time of the current FileInfoBase object.
      Virtual Public PropertiesDirectoryNameGets the directory path, or null reference if not available.
      Virtual Public PropertiesExistsGets a boolean value indicating if the item physically exists.
      Public PropertiesFileSystemGets the file system that the file belongs to.
      Public PropertiesFullNameGets the fully qualified name of the file or directory.
      Public PropertiesIsDirectoryGets a boolean value indicating whether this is a directory.
      Public PropertiesIsFileGets a boolean value indicating whether this is a regular file.
      Public PropertiesIsSymlinkGets a boolean value indicating whether this is a symlink.
      Public PropertiesLastAccessTimeGets the time the current file or directory was last accessed.
      Public PropertiesLastWriteTimeGets the time when the current file or directory was last written to.
      Public PropertiesLengthGets the size of the current file.
      Public PropertiesNameGets the file name, or null reference if not available.
      Virtual Public PropertiesOriginalPathGets the original path of the item. For internal use only.
      Virtual Public PropertiesParentFolderGets the parent folder object.
      Public PropertiesSymlinkPathGets the path this item points to if it is symlink, null otherwise.
      Top

      Public Methods

      NameDescription
      Virtual Public MethodsApplyPropertiesFromApplies properties from the specified source file.
      Virtual Public MethodsCopyToOverloaded. Copies this file to the specified destination file.
      Virtual Public MethodsCreateCreates the physical item represented by this object.
      Virtual Public MethodsDeletePermanently deletes the physical file or directory.
      Virtual Public MethodsGetChecksumGets the checksum of the current file.
      Public MethodsGetFilesReturns a collection of files matching the specified search condition in this folder.
      Public MethodsGetFoldersReturns a collection of folders matching the specified search condition in this folder.
      Public MethodsGetItemsReturns a collection of files and directories matching the specified search condition in this folder.
      Virtual Public MethodsIsSameAsGets a boolean value indicating if the source and target items represent the same physical entity.
      Virtual Public MethodsMatchesOverloaded. Returns a boolean value indicating whether the file matches the specified search condition.
      Virtual Public MethodsMatchesAllReturns a boolean value indicating whether the file matches all the specified search conditions.
      Virtual Public MethodsMatchesOneReturns a boolean value indicating whether the file matches at least one of the specified search conditions.
      Virtual Public MethodsOpenReadOpens the file for reading with the specified sharing mode.
      Virtual Public MethodsOpenWriteOpens the file for writing with the specified sharing mode.
      Virtual Public MethodsReadOverloaded. Reads the whole file to the specified output data stream.
      Public MethodsRefreshRe-reads the information from the physical item.
      Virtual Public MethodsUpdateFullNameUpdates the fully qualified name of the file or directory. Intended for advanced usage only.
      Virtual Public MethodsWriteCreates a new file and writes data from the specified input data stream.
      Top

      See Also