The IFileInfo type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CopyTo |
Copies this file's contents to the destination file.
The destination file will be overwritten if it already exists.
| |
| Delete |
Deletes a file.
| |
| Write |
Writes data in the file. The data are written in a stream.
|
Properties
| Name | Description | |
|---|---|---|
| Exists |
Gets a value indicating whether the file exists or not.
| |
| LastWriteTimeUtc |
Gets the date when the file was last written to.
| |
| Length |
Gets the length of the file in bytes.
|