Method filesystem.getProperties
Overload
Gets file or directory attributes, size and times. Calls API GetFileAttributesEx.
public static bool getProperties(string path, out FileProperties properties, FAFlags flags = 0)
Parameters
path (string)
Full path. Supports |
properties (FileProperties)
Receives properties. |
flags (FAFlags) |
Returns
bool
|
Exceptions
ArgumentException
Not full path (when not used flag UseRawPath). |
AuException
The file/directory exist but failed to get its properties. Not thrown if used flag DontThrow. |
Remarks
For NTFS links, gets properties of the link, not of its target. You can also get most of these properties with filesystem.enumerate.