Interface IFileSystemEntry
- Namespace
- DirectoryToObject
- Assembly
- DirectoryToObject.dll
Abstraction of a file system entry. This is a subset of the interface provided by FileSystemInfo that can be implemented regardless of whether the file system is local, remote, or not a file system at all.
public interface IFileSystemEntry
Properties
CreationTimeUtc
The creation time, in Coordinated Universal Time (UTC), of the file or directory if it is known.
DateTime CreationTimeUtc { get; }
Property Value
Extension
The extension of this file or directory entry, including the leading dot. If the file or directory name starts with a dot, the extension is equal to the name.
string Extension { get; }
Property Value
IsDirectory
bool IsDirectory { get; }
Property Value
LastWriteTimeUtc
The time, in Coordinated Universal Time (UTC), when the file or directory was last written to.
DateTime LastWriteTimeUtc { get; }
Property Value
Name
The name of this file or directory entry, including the extension.
string Name { get; }