Class PhoenixFileSystemInfoBase
Contains the data for a directory.
Inherited Members
Namespace: Phoenix.DeviceStorage
Assembly: Phoenix.Abstractions.DeviceStorage.dll
Syntax
public abstract class PhoenixFileSystemInfoBase
Constructors
View SourcePhoenixFileSystemInfoBase(PhoenixPath)
Initializes a new instance of the PhoenixFileSystemInfoBase class.
Declaration
protected PhoenixFileSystemInfoBase(PhoenixPath path)
Parameters
Type | Name | Description |
---|---|---|
PhoenixPath | path | The PhoenixPath this file system item is for. |
Properties
View SourceAttributes
Gets or sets the attributes.
Declaration
public FileAttributes Attributes { get; set; }
Property Value
Type | Description |
---|---|
System.IO.FileAttributes |
Available
Gets or sets a value indicating whether this FileSystemInfo item is currently available.
Declaration
public bool Available { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CreationTime
Gets or sets the creation time of the file or directory.
Declaration
public DateTime CreationTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
DirectoryName
Gets the directory path this item is contained in.
Declaration
public string DirectoryName { get; }
Property Value
Type | Description |
---|---|
System.String |
FileSystemType
Gets the file system type this item is.
Declaration
public PhoenixIOType FileSystemType { get; }
Property Value
Type | Description |
---|---|
PhoenixIOType |
FullName
Gets the full name of the file or directory.
Declaration
public string FullName { get; }
Property Value
Type | Description |
---|---|
System.String |
LastAccessTime
Gets or sets the last access time of the file or directory.
Declaration
public DateTime LastAccessTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
LastWriteTime
Gets or sets the last write time of the file or directory.
Declaration
public DateTime LastWriteTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Length
Gets or sets the length of the file in bytes.
Declaration
public long Length { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Metadata
Gets the metadata that may come extra with a file.
Declaration
public Dictionary<string, string> Metadata { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.String> |
Name
Gets the name of the file or directory.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
PhoenixPath
Gets the PhoenixPath for this file system object.
Declaration
public PhoenixPath PhoenixPath { get; }
Property Value
Type | Description |
---|---|
PhoenixPath |
ReadOnly
Gets or sets a value indicating whether this FileSystemInfo item is readonly or not.
Declaration
public bool ReadOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |