Skip to main content

FileSystemEntry Class

NuGet: GHIElectronics.TinyCLR.IO
Assembly: GHIElectronics.TinyCLR.IO
Namespace: GHIElectronics.TinyCLR.IO

Describes a single file or directory returned by a drive provider.

public class FileSystemEntry

Properties

Attributes

public FileAttributes Attributes { get; set; }

The attributes of the entry.

CreationTime

public DateTime CreationTime { get; set; }

The time the entry was created.

LastAccessTime

public DateTime LastAccessTime { get; set; }

The time the entry was last accessed.

LastWriteTime

public DateTime LastWriteTime { get; set; }

The time the entry was last written.

Size

public long Size { get; set; }

The size of the entry in bytes.

FileName

public string FileName { get; set; }

The name of the entry.