public class QuickIOPathInfo
Provides properties and instance method for paths
private Win32FindData _findData
QuickIOPathInfo(String anyFullname)
Creates the path information container
public void QuickIOPathInfo(String anyFullname)
Parameters
anyFullname
StringFull path to the file or directory (regular or unc)
QuickIOPathInfo(String anyFullname, String name)
Creates the path information container
public void QuickIOPathInfo(String anyFullname, String name)
Parameters
anyFullname
StringFull path to the file or directory (regular or unc). Relative path will be recognized as local regular path.
name
StringName of file or directory
GetFileSystemSecurity()
Returns current QuickIOFileSystemSecurity
public QuickIOFileSystemSecurity GetFileSystemSecurity()
Returns
QuickIOFileSystemSecurity
GetOwner()
Determines the owner
public NTAccount GetOwner()
Returns
NTAccount
GetOwnerIdentifier()
Determines the owner
public IdentityReference GetOwnerIdentifier()
Returns
IdentityReference
SetOwner(IdentityReference newOwersIdentityReference)
Determines the owner
public void SetOwner(IdentityReference newOwersIdentityReference)
SetOwner(NTAccount newOwner)
Determines the owner
public void SetOwner(NTAccount newOwner)
TransferParseResult(QuickIOParsePathResult parsePathResult)
Transfers properties from result to current instance
private void TransferParseResult(QuickIOParsePathResult parsePathResult)
Parameters
parsePathResult
QuickIOParsePathResultAttributes
Attributes. Cached.
public FileAttributes Attributes { get; }
Exceptions
NotSupportedException
if path is root
Exists
Returns true if path exists. Checks QuickIOFileSystemEntryType
public Boolean Exists { get; }
FindData
FindData
internal Win32FindData FindData { get; set; }
FullName
Path to file or directory (regular format)
public String FullName { get; set; }
FullNameUnc
Path to file or directory (unc format)
public String FullNameUnc { get; set; }
IsRoot
Returns true if current path is root
public Boolean IsRoot { get; set; }
Name
Name of file or directory
public String Name { get; set; }
Parent
Parent Directory
public QuickIOPathInfo Parent { get; }
ParentFullName
Fullname of Parent. null if current path is root.
public String ParentFullName { get; set; }
PathLocation
QuickIOPathLocation of current path
public QuickIOPathLocation PathLocation { get; set; }
PathType
PathType
public QuickIOPathType PathType { get; set; }
Root
Returns Root or null if current path is root
public QuickIOPathInfo Root { get; }
RootFullName
Fullname of Root. null if current path is root.
public String RootFullName { get; set; }
SystemEntryType
Returns true if path exists. Checks QuickIOFileSystemEntryType against the file system
public QuickIOFileSystemEntryType SystemEntryType { get; }