The IFileInfo type exposes the following members.

Methods

  NameDescription
Public methodCopyTo
Copies this file's contents to the destination file. The destination file will be overwritten if it already exists.
Public methodDelete
Deletes a file.
Public methodWrite
Writes data in the file. The data are written in a stream.

Properties

  NameDescription
Public propertyExists
Gets a value indicating whether the file exists or not.
Public propertyLastWriteTimeUtc
Gets the date when the file was last written to.
Public propertyLength
Gets the length of the file in bytes.

See Also