NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Directory Properties

The properties of the Directory class are listed below. For a complete list of Directory class members, see the Directory Members topic.

Public:

Attributes Retrieves or sets directory attributes such as read-only and hidden.
CreationTime Retrieves the creation time of the current directory.
CurrentDirectory Gets and sets the current directory. The original directory is the one from which the process was started.
Exists Determines whether a directory exists.
FullName (inherited from FileSystemEntry) Retrieves the full path of the directory or file.
IsDirectory Indicates whether the object is a directory.
IsFile Indicates whether the object is a file.
LastAccessTime Retrieves the time the current directory was last accessed.
LastWriteTime Retrieves the time when the current directory was last written to.
Name Retrieves the name of the current directory.
Parent Retrieves the parent directory of a subdirectory.
Root Retrieves the root portion of a path.

See Also

Directory Class | System.IO Namespace