The LocalFileInfo type exposes the following members.

Collapse imageConstructors

  NameDescription
Public methodLocalFileInfo
Initializes an instance of this class.

Collapse imageMethods

  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 methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodWrite
Writes data in the file. The data are written in a stream.

Collapse imageProperties

  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.
Public propertyName
Gets the name of the file.

Collapse imageSee Also