AlphaFS Information about an alternate data stream. Gets the name of the alternate data stream. This value is an empty string for the default stream (:$DATA), and for any other data stream it contains the name of the stream. The name of the stream. Gets the size of the stream. Gets the full path to the stream. This is a path in long path format that can be passed to to open the stream if or is specified. The full path to the stream in long path format. Returns the hash code for this instance. A 32-bit signed integer that is the hash code for this instance. Indicates whether this instance and a specified object are equal. The object to compare with the current instance. true if and this instance are the same type and represent the same value; otherwise, false. Equality operator. The first operand. The second operand. The result of the operation. Inequality operator. The first operand. The second operand. The result of the operation. The structure contains stream header data. Initializes a new instance of the class. The stream ID. The name. Gets the size of the data in the substream, in bytes. The size of the data in the substream, in bytes. Gets a string that specifies the name of the alternative data stream. A string that specifies the name of the alternative data stream. Gets the type of the data in the stream. The type of the data in the stream. Gets the attributes of the data to facilitate cross-operating system transfer. Attributes of the data to facilitate cross-operating system transfer. Callback used by CopyFileXxx and MoveFileXxx to report progress about the copy/move operation. Exposes static methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited. [AlphaFS] Copies an existing directory to a new directory. Overwriting a directory of the same name is not allowed. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The source directory path. The destination directory path. [AlphaFS] Copies an existing directory to a new directory. Overwriting a directory of the same name is not allowed. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The source directory path. The destination directory path. Indicates the format of the path parameter(s). [AlphaFS] Copies an existing directory to a new directory. Overwriting a directory of the same name is allowed. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The source directory path. The destination directory path. if the destination directory should ignoring the read-only and hidden attributes and overwrite; otherwise, . [AlphaFS] Copies an existing directory to a new directory. Overwriting a directory of the same name is allowed. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The source directory path. The destination directory path. if the destination directory should ignoring the read-only and hidden attributes and overwrite; otherwise, . Indicates the format of the path parameter(s). [AlphaFS] Copies an existing directory to a new directory. Overwriting a directory of the same name is not allowed. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The transaction. The source directory path. The destination directory path. [AlphaFS] Copies an existing directory to a new directory. Overwriting a directory of the same name is not allowed. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The transaction. The source directory path. The destination directory path. Indicates the format of the path parameter(s). [AlphaFS] Copies an existing directory to a new directory. Overwriting a directory of the same name is allowed. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The transaction. The source directory path. The destination directory path. if the destination directory should ignoring the read-only and hidden attributes and overwrite; otherwise, . [AlphaFS] Copies an existing directory to a new directory. Overwriting a directory of the same name is allowed. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The transaction. The source directory path. The destination directory path. if the destination directory should ignoring the read-only and hidden attributes and overwrite; otherwise, . Indicates the format of the path parameter(s). [AlphaFS] Copies a directory and its contents to a new location, can be specified. Option is recommended for very large file transfers. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The source directory path. The destination directory path. that specify how the directory is to be copied. This parameter can be . [AlphaFS] Copies a directory and its contents to a new location, can be specified. Option is recommended for very large file transfers. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The source directory path. The destination directory path. that specify how the directory is to be copied. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Copies a directory and its contents to a new location, can be specified, and the possibility of notifying the application of its progress through a callback function. Option is recommended for very large file transfers. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The source directory path. The destination directory path. that specify how the directory is to be copied. This parameter can be . A callback function that is called each time another portion of the directory has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . [AlphaFS] Copies a directory and its contents to a new location, can be specified, and the possibility of notifying the application of its progress through a callback function. Option is recommended for very large file transfers. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The source directory path. The destination directory path. that specify how the directory is to be copied. This parameter can be . A callback function that is called each time another portion of the directory has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Copies a directory and its contents to a new location, can be specified. Option is recommended for very large file transfers. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The transaction. The source directory path. The destination directory path. that specify how the directory is to be copied. This parameter can be . [AlphaFS] Copies a directory and its contents to a new location, can be specified. Option is recommended for very large file transfers. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The transaction. The source directory path. The destination directory path. that specify how the directory is to be copied. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Copies a directory and its contents to a new location, can be specified, and the possibility of notifying the application of its progress through a callback function. Option is recommended for very large file transfers. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The transaction. The source directory path. The destination directory path. that specify how the directory is to be copied. This parameter can be . A callback function that is called each time another portion of the directory has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . [AlphaFS] Copies a directory and its contents to a new location, can be specified, and the possibility of notifying the application of its progress through a callback function. Option is recommended for very large file transfers. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The transaction. The source directory path. The destination directory path. that specify how the directory is to be copied. This parameter can be . A callback function that is called each time another portion of the directory has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). Moves a file or a directory and its contents to a new location. This method does not work across disk volumes. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Move action. The source directory path. The destination directory path. [AlphaFS] Moves a file or a directory and its contents to a new location. This method does not work across disk volumes. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Move action. The source directory path. The destination directory path. Indicates the format of the path parameter(s). [AlphaFS] Moves a file or a directory and its contents to a new location. This method does not work across disk volumes. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Move action. The transaction. The source directory path. The destination directory path. [AlphaFS] Moves a file or a directory and its contents to a new location. This method does not work across disk volumes. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Move action. The transaction. The source directory path. The destination directory path. Indicates the format of the path parameter(s). [AlphaFS] Moves a file or a directory and its contents to a new location, can be specified. This method does not work across disk volumes unless contains . Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Move action. The source directory path. The destination directory path. that specify how the directory is to be moved. This parameter can be . [AlphaFS] Moves a file or a directory and its contents to a new location, can be specified. This method does not work across disk volumes unless contains . Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Move action. The source directory path. The destination directory path. that specify how the directory is to be moved. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Moves a file or a directory and its contents to a new location, can be specified, and the possibility of notifying the application of its progress through a callback function. This method does not work across disk volumes unless contains . Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Move action. The source directory path. The destination directory path. that specify how the directory is to be moved. This parameter can be . A callback function that is called each time another portion of the directory has been moved. This parameter can be . The argument to be passed to the callback function. This parameter can be . [AlphaFS] Moves a file or a directory and its contents to a new location, can be specified, and the possibility of notifying the application of its progress through a callback function. This method does not work across disk volumes unless contains . Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Move action. The source directory path. The destination directory path. that specify how the directory is to be moved. This parameter can be . A callback function that is called each time another portion of the directory has been moved. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Moves a file or a directory and its contents to a new location, can be specified. This method does not work across disk volumes unless contains . Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Move action. The transaction. The source directory path. The destination directory path. that specify how the directory is to be moved. This parameter can be . [AlphaFS] Moves a file or a directory and its contents to a new location, can be specified. This method does not work across disk volumes unless contains . Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Move action. The transaction. The source directory path. The destination directory path. that specify how the directory is to be moved. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Moves a file or a directory and its contents to a new location, can be specified, and the possibility of notifying the application of its progress through a callback function. This method does not work across disk volumes unless contains . Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Move action. The transaction. The source directory path. The destination directory path. that specify how the directory is to be moved. This parameter can be . A callback function that is called each time another portion of the directory has been moved. This parameter can be . The argument to be passed to the callback function. This parameter can be . [AlphaFS] Moves a file or a directory and its contents to a new location, can be specified, and the possibility of notifying the application of its progress through a callback function. A class with the status of the Move action. This method does not work across disk volumes unless contains . Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Move action. The transaction. The source directory path. The destination directory path. that specify how the directory is to be moved. This parameter can be . A callback function that is called each time another portion of the directory has been moved. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). Copy/move a Non-/Transacted file or directory including its children to a new location, or can be specified, and the possibility of notifying the application of its progress through a callback function. Option is recommended for very large file transfers. You cannot use the Move method to overwrite an existing file, unless contains . Note that if you attempt to replace a file by moving a file of the same name into that directory, you get an IOException. A class with the status of the Copy or Move action. The transaction. The source directory path. The destination directory path. that specify how the directory is to be copied. This parameter can be . that specify how the directory is to be moved. This parameter can be . A callback function that is called each time another portion of the file has been copied/moved. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Counts file system objects: files, folders or both) in a given directory. The counted number of file system objects. The directory path. flags that specify how the directory is to be enumerated. [AlphaFS] Counts file system objects: files, folders or both) in a given directory. The counted number of file system objects. The directory path. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Counts file system objects: files, folders or both) in a given directory. The counted number of file system objects. The directory path. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. [AlphaFS] Counts file system objects: files, folders or both) in a given directory. The counted number of file system objects. The directory path. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Counts file system objects: files, folders or both) in a given directory. The counted number of file system objects. The transaction. The directory path. flags that specify how the directory is to be enumerated. [AlphaFS] Counts file system objects: files, folders or both) in a given directory. The counted number of file system objects. The transaction. The directory path. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Counts file system objects: files, folders or both) in a given directory. The counted number of file system objects. The transaction. The directory path. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. [AlphaFS] Counts file system objects: files, folders or both) in a given directory. The counted number of file system objects. The transaction. The directory path. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Deletes empty subdirectories from the specified directory. The name of the directory to remove empty subdirectories from. deletes empty subdirectories from this directory and its subdirectories. [AlphaFS] Deletes empty subdirectories from the specified directory. The name of the directory to remove empty subdirectories from. deletes empty subdirectories from this directory and its subdirectories. Indicates the format of the path parameter(s). [AlphaFS] Deletes empty subdirectories from the specified directory. The name of the directory to remove empty subdirectories from. deletes empty subdirectories from this directory and its subdirectories. overrides read only of empty directories. [AlphaFS] Deletes empty subdirectories from the specified directory. The name of the directory to remove empty subdirectories from. deletes empty subdirectories from this directory and its subdirectories. overrides read only of empty directories. Indicates the format of the path parameter(s). [AlphaFS] Deletes empty subdirectories from the specified directory. The transaction. The name of the directory to remove empty subdirectories from. deletes empty subdirectories from this directory and its subdirectories. [AlphaFS] Deletes empty subdirectories from the specified directory. The transaction. The name of the directory to remove empty subdirectories from. deletes empty subdirectories from this directory and its subdirectories. Indicates the format of the path parameter(s). [AlphaFS] Deletes empty subdirectories from the specified directory. The transaction. The name of the directory to remove empty subdirectories from. deletes empty subdirectories from this directory and its subdirectories. overrides read only of empty directories. [AlphaFS] Deletes empty subdirectories from the specified directory. The transaction. The name of the directory to remove empty subdirectories from. deletes empty subdirectories from this directory and its subdirectories. overrides read only of empty directories. Indicates the format of the path parameter(s). Delete empty subdirectories from the specified directory. A FileSystemEntryInfo instance. Use either or , not both. The transaction. The name of the directory to remove empty subdirectories from. Use either or , not both. deletes empty subdirectories from this directory and its subdirectories. overrides read only of empty directories. When indicates the method is called externally. Indicates the format of the path parameter(s). Deletes an empty directory from a specified path. The name of the empty directory to remove. This directory must be writable and empty. Deletes the specified directory and, if indicated, any subdirectories in the directory. The name of the directory to remove. to remove directories, subdirectories, and files in . otherwise. [AlphaFS] Deletes an empty directory from a specified path. The name of the empty directory to remove. This directory must be writable and empty. Indicates the format of the path parameter(s). [AlphaFS] Deletes the specified directory and, if indicated, any subdirectories in the directory. The name of the directory to remove. to remove directories, subdirectories, and files in . otherwise. Indicates the format of the path parameter(s). [AlphaFS] Deletes the specified directory and, if indicated, any subdirectories in the directory. The name of the directory to remove. to remove directories, subdirectories, and files in . otherwise. overrides read only of files and directories. [AlphaFS] Deletes the specified directory and, if indicated, any subdirectories in the directory. The name of the directory to remove. to remove directories, subdirectories, and files in . otherwise. overrides read only of files and directories. Indicates the format of the path parameter(s). [AlphaFS] Deletes an empty directory from a specified path. The transaction. The name of the empty directory to remove. This directory must be writable and empty. [AlphaFS] Deletes an empty directory from a specified path. The transaction. The name of the empty directory to remove. This directory must be writable and empty. Indicates the format of the path parameter(s). [AlphaFS] Deletes the specified directory and, if indicated, any subdirectories in the directory. The transaction. The name of the directory to remove. to remove directories, subdirectories, and files in . otherwise. [AlphaFS] Deletes the specified directory and, if indicated, any subdirectories in the directory. The transaction. The name of the directory to remove. to remove directories, subdirectories, and files in . otherwise. Indicates the format of the path parameter(s). [AlphaFS] Deletes the specified directory and, if indicated, any subdirectories in the directory. The transaction. The name of the directory to remove. to remove directories, subdirectories, and files in . otherwise. overrides read only of files and directories. [AlphaFS] Deletes the specified directory and, if indicated, any subdirectories in the directory. The transaction. The name of the directory to remove. to remove directories, subdirectories, and files in . otherwise. overrides read only of files and directories. Indicates the format of the path parameter(s). Deletes the specified directory and, if indicated, any subdirectories in the directory. The RemoveDirectory function marks a directory for deletion on close. Therefore, the directory is not removed until the last handle to the directory is closed. A FileSystemEntryInfo instance. Use either or , not both. The transaction. The name of the directory to remove. Use either or , not both. to remove all files and subdirectories recursively; otherwise only the top level empty directory. overrides read only attribute of files and directories. requires the directory must be empty. does not throw an Exception when the file system object does not exist. Indicates the format of the path parameter(s). Creates all directories and subdirectories in the specified path unless they already exist. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The directory to create. [AlphaFS] Creates all the directories in the specified path, applying the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The directory to create. Indicates the format of the path parameter(s). [AlphaFS] Creates all the directories in the specified path, applying the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The directory to create. When compresses the directory. [AlphaFS] Creates all the directories in the specified path, applying the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The directory to create. When compresses the directory. Indicates the format of the path parameter(s). Creates all the directories in the specified path, unless the already exist, applying the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The directory to create. The access control to apply to the directory. [AlphaFS] Creates all the directories in the specified path, applying the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The directory to create. The access control to apply to the directory. Indicates the format of the path parameter(s). [AlphaFS] Creates all the directories in the specified path, applying the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The directory to create. The access control to apply to the directory. When compresses the directory. [AlphaFS] Creates all the directories in the specified path, applying the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The directory to create. The access control to apply to the directory. When compresses the directory. Indicates the format of the path parameter(s). [AlphaFS] Creates a new directory, with the attributes of a specified template directory. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The directory to create. The path of the directory to use as a template when creating the new directory. [AlphaFS] Creates a new directory, with the attributes of a specified template directory. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The directory to create. The path of the directory to use as a template when creating the new directory. Indicates the format of the path parameter(s). [AlphaFS] Creates a new directory, with the attributes of a specified template directory. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The directory to create. The path of the directory to use as a template when creating the new directory. When compresses the directory. [AlphaFS] Creates a new directory, with the attributes of a specified template directory. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The directory to create. The path of the directory to use as a template when creating the new directory. When compresses the directory. Indicates the format of the path parameter(s). [AlphaFS] Creates all the directories in the specified path of a specified template directory and applies the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The directory to create. The path of the directory to use as a template when creating the new directory. The access control to apply to the directory. [AlphaFS] Creates all the directories in the specified path of a specified template directory and applies the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The directory to create. The path of the directory to use as a template when creating the new directory. The access control to apply to the directory. Indicates the format of the path parameter(s). [AlphaFS] Creates all the directories in the specified path of a specified template directory and applies the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The directory to create. The path of the directory to use as a template when creating the new directory. The access control to apply to the directory. When compresses the directory. [AlphaFS] Creates all the directories in the specified path of a specified template directory and applies the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The directory to create. The path of the directory to use as a template when creating the new directory. The access control to apply to the directory. When compresses the directory. Indicates the format of the path parameter(s). Creates all directories and subdirectories in the specified path unless they already exist. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. [AlphaFS] Creates all the directories in the specified path, applying the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. Indicates the format of the path parameter(s). [AlphaFS] Creates all the directories in the specified path, applying the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. When compresses the directory. [AlphaFS] Creates all the directories in the specified path, applying the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. When compresses the directory. Indicates the format of the path parameter(s). Creates all the directories in the specified path, unless the already exist, applying the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. The access control to apply to the directory. [AlphaFS] Creates all the directories in the specified path, applying the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. The access control to apply to the directory. Indicates the format of the path parameter(s). [AlphaFS] Creates all the directories in the specified path, applying the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. The access control to apply to the directory. When compresses the directory. [AlphaFS] Creates all the directories in the specified path, applying the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. The access control to apply to the directory. When compresses the directory. Indicates the format of the path parameter(s). [AlphaFS] Creates a new directory, with the attributes of a specified template directory. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. The path of the directory to use as a template when creating the new directory. [AlphaFS] Creates a new directory, with the attributes of a specified template directory. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. The path of the directory to use as a template when creating the new directory. Indicates the format of the path parameter(s). [AlphaFS] Creates a new directory, with the attributes of a specified template directory. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. The path of the directory to use as a template when creating the new directory. When compresses the directory. [AlphaFS] Creates a new directory, with the attributes of a specified template directory. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. The path of the directory to use as a template when creating the new directory. When compresses the directory. Indicates the format of the path parameter(s). [AlphaFS] Creates all the directories in the specified path of a specified template directory and applies the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. The path of the directory to use as a template when creating the new directory. The access control to apply to the directory. [AlphaFS] Creates all the directories in the specified path of a specified template directory and applies the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. The path of the directory to use as a template when creating the new directory. The access control to apply to the directory. Indicates the format of the path parameter(s). [AlphaFS] Creates all the directories in the specified path of a specified template directory and applies the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. The path of the directory to use as a template when creating the new directory. The access control to apply to the directory. When compresses the directory. [AlphaFS] Creates all the directories in the specified path of a specified template directory and applies the specified Windows security. An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. The path of the directory to use as a template when creating the new directory. The access control to apply to the directory. When compresses the directory. Indicates the format of the path parameter(s). Creates a new directory with the attributes of a specified template directory (if one is specified). If the underlying file system supports security on files and directories, the function applies the specified security descriptor to the new directory. The new directory retains the other attributes of the specified template directory. Returns an object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. The transaction. The directory to create. The path of the directory to use as a template when creating the new directory. May be to indicate that no template should be used. The access control to apply to the directory, may be null. When compresses the directory. Indicates the format of the path parameter(s). Returns an enumerable collection of directory names in a specified . An enumerable collection of the full names (including paths) for the directories in the directory specified by . The directory to search. Returns an enumerable collection of directory names that match a in a specified . An enumerable collection of the full names (including paths) for the directories in the directory specified by and that match the specified . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Returns an enumerable collection of directory names that match a in a specified , and optionally searches subdirectories. An enumerable collection of the full names (including paths) for the directories in the directory specified by and that match the specified and . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. [AlphaFS] Returns an enumerable collection of directory names in a specified . An enumerable collection of the full names (including paths) for the directories in the directory specified by . The directory to search. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of directory names that match a in a specified . An enumerable collection of the full names (including paths) for the directories in the directory specified by and that match the specified . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of directory names that match a in a specified , and optionally searches subdirectories. An enumerable collection of the full names (including paths) for the directories in the directory specified by and that match the specified and . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of directory names in a specified . An enumerable collection of the full names (including paths) for the directories in the directory specified by . The directory to search. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of directory names in a specified . An enumerable collection of the full names (including paths) for the directories in the directory specified by . The directory to search. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of directory names in a specified . An enumerable collection of the full names (including paths) for the directories in the directory specified by . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of directory names in a specified . An enumerable collection of the full names (including paths) for the directories in the directory specified by . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of directory instances in a specified . An enumerable collection of the full names (including paths) for the directories in the directory specified by . The transaction. The directory to search. [AlphaFS] Returns an enumerable collection of directory instances that match a in a specified . An enumerable collection of the full names (including paths) for the directories in the directory specified by and that match the specified . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. [AlphaFS] Returns an enumerable collection of directory names that match a in a specified , and optionally searches subdirectories. An enumerable collection of the full names (including paths) for the directories in the directory specified by and that match the specified and . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. [AlphaFS] Returns an enumerable collection of directory instances in a specified . An enumerable collection of the full names (including paths) for the directories in the directory specified by . The transaction. The directory to search. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of directory instances that match a in a specified . An enumerable collection of the full names (including paths) for the directories in the directory specified by and that match the specified . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of directory names that match a in a specified , and optionally searches subdirectories. An enumerable collection of the full names (including paths) for the directories in the directory specified by and that match the specified and . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of directory instances in a specified . An enumerable collection of the full names (including paths) for the directories in the directory specified by . The transaction. The directory to search. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of directory instances in a specified . An enumerable collection of the full names (including paths) for the directories in the directory specified by . The transaction. The directory to search. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of directory instances that match a in a specified . An enumerable collection of the full names (including paths) for the directories in the directory specified by and that match the specified . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of directory instances that match a in a specified . An enumerable collection of the full names (including paths) for the directories in the directory specified by and that match the specified . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). Returns an enumerable collection of file names in a specified . An enumerable collection of the full names (including paths) for the files in the directory specified by . The directory to search. Returns an enumerable collection of file names in a specified . An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Returns an enumerable collection of file names that match a in a specified , and optionally searches subdirectories. An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the specified and . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. [AlphaFS] Returns an enumerable collection of file names in a specified . An enumerable collection of the full names (including paths) for the files in the directory specified by . The directory to search. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file names in a specified . An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file names that match a in a specified , and optionally searches subdirectories. An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the specified and . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file names in a specified . An enumerable collection of the full names (including paths) for the files in the directory specified by . The directory to search. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of file names in a specified . An enumerable collection of the full names (including paths) for the files in the directory specified by . The directory to search. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file names in a specified . An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of file names in a specified . An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file names in a specified . An enumerable collection of the full names (including paths) for the files in the directory specified by . The transaction. The directory to search. [AlphaFS] Returns an enumerable collection of file instances that match a in a specified . An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. [AlphaFS] Returns an enumerable collection of file instances instances that match a in a specified , and optionally searches subdirectories. An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the specified and . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. [AlphaFS] Returns an enumerable collection of file names in a specified . An enumerable collection of the full names (including paths) for the files in the directory specified by . The transaction. The directory to search. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file instances that match a in a specified . An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file instances instances that match a in a specified , and optionally searches subdirectories. An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the specified and . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file names in a specified . An enumerable collection of the full names (including paths) for the files in the directory specified by . The transaction. The directory to search. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of file names in a specified . An enumerable collection of the full names (including paths) for the files in the directory specified by . The transaction. The directory to search. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file instances that match a in a specified . An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of file instances that match a in a specified . An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file system entries in a specified path. The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The directory to search. [AlphaFS] Returns an enumerable collection of file system entries in a specified path. The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The directory to search. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file system entries in a specified path. The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The directory to search. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of file system entries in a specified path. The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The directory to search. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file system entries that match a in a specified path. The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. [AlphaFS] Returns an enumerable collection of file system entries that match a in a specified path. The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file system entries that match a in a specified path using . The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of file system entries that match a in a specified path using . The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file system entries in a specified path. The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The transaction. The directory to search. [AlphaFS] Returns an enumerable collection of file system entries in a specified path. The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The transaction. The directory to search. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file system entries in a specified path. The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The transaction. The directory to search. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of file system entries in a specified path. The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The transaction. The directory to search. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file system entries that match a in a specified path. The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. [AlphaFS] Returns an enumerable collection of file system entries that match a in a specified path. The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file system entries that match a in a specified path using . The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of file system entries that match a in a specified path using . The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). Returns an enumerable collection of file system entries in a specified path using . The matching file system entries. The type of the items is determined by the type . The type to return. This may be one of the following types: This method will return instances of instances. This method will return instances of and instances. This method will return the full path of each item. The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). Returns an enumerable collection of file names and directory names in a specified . An enumerable collection of file system entries in the directory specified by . The directory to search. Returns an enumerable collection of file names and directory names that match a in a specified . An enumerable collection of file system entries in the directory specified by and that match the specified . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Returns an enumerable collection of file names and directory names that match a in a specified , and optionally searches subdirectories. An enumerable collection of file system entries in the directory specified by and that match the specified and . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. [AlphaFS] Returns an enumerable collection of file names and directory names in a specified . An enumerable collection of file system entries in the directory specified by . The directory to search. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file names and directory names that match a in a specified . An enumerable collection of file system entries in the directory specified by and that match the specified . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file names and directory names that match a in a specified , and optionally searches subdirectories. An enumerable collection of file system entries in the directory specified by and that match the specified and . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file names and directory names in a specified . An enumerable collection of file system entries in the directory specified by . The directory to search. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of file names and directory names in a specified . An enumerable collection of file system entries in the directory specified by . The directory to search. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file names and directory names that match a in a specified . An enumerable collection of file system entries in the directory specified by and that match the specified . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of file names and directory names that match a in a specified . An enumerable collection of file system entries in the directory specified by and that match the specified . The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Indicates the format of the path parameter(s). flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of file names and directory names in a specified . An enumerable collection of file system entries in the directory specified by . The transaction. The directory to search. [AlphaFS] Returns an enumerable collection of file names and directory names that match a in a specified . An enumerable collection of file system entries in the directory specified by and that match the specified . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. [AlphaFS] Returns an enumerable collection of file names and directory names that match a in a specified , and optionally searches subdirectories. An enumerable collection of file system entries in the directory specified by and that match the specified and . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. [AlphaFS] Returns an enumerable collection of file names and directory names in a specified . An enumerable collection of file system entries in the directory specified by . The transaction. The directory to search. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file names and directory names that match a in a specified . An enumerable collection of file system entries in the directory specified by and that match the specified . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file names and directory names that match a in a specified , and optionally searches subdirectories. An enumerable collection of file system entries in the directory specified by and that match the specified and . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file names and directory names in a specified . An enumerable collection of file system entries in the directory specified by . The transaction. The directory to search. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of file names and directory names in a specified . An enumerable collection of file system entries in the directory specified by . The transaction. The directory to search. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Returns an enumerable collection of file names and directory names that match a in a specified . An enumerable collection of file system entries in the directory specified by and that match the specified . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of file names and directory names that match a in a specified . An enumerable collection of file system entries in the directory specified by and that match the specified . The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). Determines whether the given path refers to an existing directory on disk. Returns if refers to an existing directory. Returns if the directory does not exist or an error occurs when trying to determine if the specified file exists. The Exists method returns if any error occurs while trying to determine if the specified file exists. This can occur in situations that raise exceptions such as passing a file name with invalid characters or too many characters, a failing or missing disk, or if the caller does not have permission to read the file. The path to test. [AlphaFS] Determines whether the given path refers to an existing directory on disk. Returns if refers to an existing directory. Returns if the directory does not exist or an error occurs when trying to determine if the specified file exists. The Exists method returns if any error occurs while trying to determine if the specified file exists. This can occur in situations that raise exceptions such as passing a file name with invalid characters or too many characters, a failing or missing disk, or if the caller does not have permission to read the file. The path to test. Indicates the format of the path parameter(s). [AlphaFS] Determines whether the given path refers to an existing directory on disk. Returns if refers to an existing directory. Returns if the directory does not exist or an error occurs when trying to determine if the specified file exists. The Exists method returns if any error occurs while trying to determine if the specified file exists. This can occur in situations that raise exceptions such as passing a file name with invalid characters or too many characters, a failing or missing disk, or if the caller does not have permission to read the file. The transaction. The path to test. [AlphaFS] Determines whether the given path refers to an existing directory on disk. Returns if refers to an existing directory. Returns if the directory does not exist or an error occurs when trying to determine if the specified file exists. The Exists method returns if any error occurs while trying to determine if the specified file exists. This can occur in situations that raise exceptions such as passing a file name with invalid characters or too many characters, a failing or missing disk, or if the caller does not have permission to read the file. The transaction. The path to test. Indicates the format of the path parameter(s). Returns the names of subdirectories (including their paths) in the specified directory. An array of the full names (including paths) of subdirectories in the specified path, or an empty array if no directories are found. The names returned by this method are prefixed with the directory information provided in path. The EnumerateDirectories and GetDirectories methods differ as follows: When you use EnumerateDirectories, you can start enumerating the collection of names before the whole collection is returned; when you use GetDirectories, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateDirectories can be more efficient. The directory to search. Returns the names of subdirectories (including their paths) that match the specified search pattern in the specified directory. An array of the full names (including paths) of the subdirectories that match the search pattern in the specified directory, or an empty array if no directories are found. The names returned by this method are prefixed with the directory information provided in path. The EnumerateDirectories and GetDirectories methods differ as follows: When you use EnumerateDirectories, you can start enumerating the collection of names before the whole collection is returned; when you use GetDirectories, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateDirectories can be more efficient. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Returns the names of the subdirectories (including their paths) that match the specified search pattern in the specified directory, and optionally searches subdirectories. An array of the full names (including paths) of the subdirectories that match the specified criteria, or an empty array if no directories are found. The names returned by this method are prefixed with the directory information provided in path. The EnumerateDirectories and GetDirectories methods differ as follows: When you use EnumerateDirectories, you can start enumerating the collection of names before the whole collection is returned; when you use GetDirectories, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateDirectories can be more efficient. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. Returns the names of subdirectories (including their paths) in the specified directory. An array of the full names (including paths) of subdirectories in the specified path, or an empty array if no directories are found. The names returned by this method are prefixed with the directory information provided in path. The EnumerateDirectories and GetDirectories methods differ as follows: When you use EnumerateDirectories, you can start enumerating the collection of names before the whole collection is returned; when you use GetDirectories, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateDirectories can be more efficient. The transaction. The directory to search. Returns the names of subdirectories (including their paths) that match the specified search pattern in the specified directory. An array of the full names (including paths) of the subdirectories that match the search pattern in the specified directory, or an empty array if no directories are found. The names returned by this method are prefixed with the directory information provided in path. The EnumerateDirectories and GetDirectories methods differ as follows: When you use EnumerateDirectories, you can start enumerating the collection of names before the whole collection is returned; when you use GetDirectories, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateDirectories can be more efficient. The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Returns the names of the subdirectories (including their paths) that match the specified search pattern in the specified directory, and optionally searches subdirectories. An array of the full names (including paths) of the subdirectories that match the specified criteria, or an empty array if no directories are found. The names returned by this method are prefixed with the directory information provided in path. The EnumerateDirectories and GetDirectories methods differ as follows: When you use EnumerateDirectories, you can start enumerating the collection of names before the whole collection is returned; when you use GetDirectories, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateDirectories can be more efficient. The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. Returns the names of files (including their paths) in the specified directory. An array of the full names (including paths) for the files in the specified directory, or an empty array if no files are found. The returned file names are appended to the supplied parameter. The order of the returned file names is not guaranteed; use the Sort() method if a specific sort order is required. The EnumerateFiles and GetFiles methods differ as follows: When you use EnumerateFiles, you can start enumerating the collection of names before the whole collection is returned; when you use GetFiles, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateFiles can be more efficient. The directory to search. Returns the names of files (including their paths) that match the specified search pattern in the specified directory. An array of the full names (including paths) for the files in the specified directory that match the specified search pattern, or an empty array if no files are found. The returned file names are appended to the supplied parameter. The order of the returned file names is not guaranteed; use the Sort() method if a specific sort order is required. The EnumerateFiles and GetFiles methods differ as follows: When you use EnumerateFiles, you can start enumerating the collection of names before the whole collection is returned; when you use GetFiles, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateFiles can be more efficient. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Returns the names of files (including their paths) that match the specified search pattern in the current directory, and optionally searches subdirectories. An array of the full names (including paths) for the files in the specified directory that match the specified search pattern and option, or an empty array if no files are found. The returned file names are appended to the supplied parameter. The order of the returned file names is not guaranteed; use the Sort() method if a specific sort order is required. The EnumerateFiles and GetFiles methods differ as follows: When you use EnumerateFiles, you can start enumerating the collection of names before the whole collection is returned; when you use GetFiles, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateFiles can be more efficient. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. Returns the names of files (including their paths) in the specified directory. An array of the full names (including paths) for the files in the specified directory, or an empty array if no files are found. The returned file names are appended to the supplied parameter. The order of the returned file names is not guaranteed; use the Sort() method if a specific sort order is required. The EnumerateFiles and GetFiles methods differ as follows: When you use EnumerateFiles, you can start enumerating the collection of names before the whole collection is returned; when you use GetFiles, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateFiles can be more efficient. The transaction. The directory to search. Returns the names of files (including their paths) that match the specified search pattern in the specified directory. An array of the full names (including paths) for the files in the specified directory that match the specified search pattern, or an empty array if no files are found. The returned file names are appended to the supplied parameter. The order of the returned file names is not guaranteed; use the Sort() method if a specific sort order is required. The EnumerateFiles and GetFiles methods differ as follows: When you use EnumerateFiles, you can start enumerating the collection of names before the whole collection is returned; when you use GetFiles, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateFiles can be more efficient. The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Returns the names of files (including their paths) that match the specified search pattern in the current directory, and optionally searches subdirectories. An array of the full names (including paths) for the files in the specified directory that match the specified search pattern and option, or an empty array if no files are found. The returned file names are appended to the supplied parameter. The order of the returned file names is not guaranteed; use the Sort() method if a specific sort order is required. The EnumerateFiles and GetFiles methods differ as follows: When you use EnumerateFiles, you can start enumerating the collection of names before the whole collection is returned; when you use GetFiles, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateFiles can be more efficient. The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. Gets the creation date and time of the specified directory. A structure set to the creation date and time for the specified directory. This value is expressed in local time. The directory for which to obtain creation date and time information. Gets the creation date and time, in Coordinated Universal Time (UTC) format, of the specified directory. A structure set to the creation date and time for the specified directory. This value is expressed in UTC time. The directory for which to obtain creation date and time information, in Coordinated Universal Time (UTC) format. [AlphaFS] Gets the creation date and time of the specified directory. A structure set to the creation date and time for the specified directory. This value is expressed in local time. The directory for which to obtain creation date and time information. Indicates the format of the path parameter(s). [AlphaFS] Gets the creation date and time, in Coordinated Universal Time (UTC) format, of the specified directory. A structure set to the creation date and time for the specified directory. This value is expressed in UTC time. The directory for which to obtain creation date and time information, in Coordinated Universal Time (UTC) format. Indicates the format of the path parameter(s). [AlphaFS] Gets the creation date and time of the specified directory. A structure set to the creation date and time for the specified directory. This value is expressed in local time. The transaction. The directory for which to obtain creation date and time information. [AlphaFS] Gets the creation date and time of the specified directory. A structure set to the creation date and time for the specified directory. This value is expressed in local time. The transaction. The directory for which to obtain creation date and time information. Indicates the format of the path parameter(s). [AlphaFS] Gets the creation date and time, in Coordinated Universal Time (UTC) format, of the specified directory. A structure set to the creation date and time for the specified directory. This value is expressed in UTC time. The transaction. The directory for which to obtain creation date and time information, in Coordinated Universal Time (UTC) format. [AlphaFS] Gets the creation date and time, in Coordinated Universal Time (UTC) format, of the specified directory. A structure set to the creation date and time for the specified directory. This value is expressed in UTC time. The transaction. The directory for which to obtain creation date and time information, in Coordinated Universal Time (UTC) format. Indicates the format of the path parameter(s). Gets the date and time that the specified directory was last accessed. A structure set to the date and time that the specified directory was last accessed. This value is expressed in local time. The directory for which to obtain access date and time information. Gets the date and time, in coordinated universal time (UTC), that the specified directory was last accessed. A structure set to the date and time that the specified directory was last accessed. This value is expressed in UTC time. The directory for which to obtain access date and time information. [AlphaFS] Gets the date and time that the specified directory was last accessed. A structure set to the date and time that the specified directory was last accessed. This value is expressed in local time. The directory for which to obtain access date and time information. Indicates the format of the path parameter(s). [AlphaFS] Gets the date and time, in coordinated universal time (UTC), that the specified directory was last accessed. A structure set to the date and time that the specified directory was last accessed. This value is expressed in UTC time. The directory for which to obtain access date and time information. Indicates the format of the path parameter(s). [AlphaFS] Gets the date and time that the specified directory was last accessed. A structure set to the date and time that the specified directory was last accessed. This value is expressed in local time. The transaction. The directory for which to obtain access date and time information. [AlphaFS] Gets the date and time that the specified directory was last accessed. A structure set to the date and time that the specified directory was last accessed. This value is expressed in local time. The transaction. The directory for which to obtain access date and time information. Indicates the format of the path parameter(s). [AlphaFS] Gets the date and time, in coordinated universal time (UTC), that the specified directory was last accessed. A structure set to the date and time that the specified directory was last accessed. This value is expressed in UTC time. The transaction. The directory for which to obtain access date and time information. [AlphaFS] Gets the date and time, in coordinated universal time (UTC), that the specified directory was last accessed. A structure set to the date and time that the specified directory was last accessed. This value is expressed in UTC time. The transaction. The directory for which to obtain access date and time information. Indicates the format of the path parameter(s). Gets the date and time that the specified directory was last written to. A structure set to the date and time that the specified directory was last written to. This value is expressed in local time. The directory for which to obtain write date and time information. Gets the date and time, in coordinated universal time (UTC) time, that the specified directory was last written to. A structure set to the date and time that the specified directory was last written to. This value is expressed in UTC time. The directory for which to obtain write date and time information. [AlphaFS] Gets the date and time that the specified directory was last written to. A structure set to the date and time that the specified directory was last written to. This value is expressed in local time. The directory for which to obtain write date and time information. Indicates the format of the path parameter(s). [AlphaFS] Gets the date and time, in coordinated universal time (UTC) time, that the specified directory was last written to. A structure set to the date and time that the specified directory was last written to. This value is expressed in UTC time. The directory for which to obtain write date and time information. Indicates the format of the path parameter(s). [AlphaFS] Gets the date and time that the specified directory was last written to. A structure set to the date and time that the specified directory was last written to. This value is expressed in local time. The transaction. The directory for which to obtain write date and time information. [AlphaFS] Gets the date and time that the specified directory was last written to. A structure set to the date and time that the specified directory was last written to. This value is expressed in local time. The transaction. The directory for which to obtain write date and time information. Indicates the format of the path parameter(s). [AlphaFS] Gets the date and time, in coordinated universal time (UTC) time, that the specified directory was last written to. A structure set to the date and time that the specified directory was last written to. This value is expressed in UTC time. The transaction. The directory for which to obtain write date and time information. [AlphaFS] Gets the date and time, in coordinated universal time (UTC) time, that the specified directory was last written to. A structure set to the date and time that the specified directory was last written to. This value is expressed in UTC time. The transaction. The directory for which to obtain write date and time information. Indicates the format of the path parameter(s). [AlphaFS] Check if the directory has permission inheritance enabled. if permission inheritance is enabled, if permission inheritance is disabled. The full path to the directory to check. Indicates the format of the path parameter(s). [AlphaFS] Check if the directory has permission inheritance enabled. The full path to the directory to check. if permission inheritance is enabled, if permission inheritance is disabled. Gets a object that encapsulates the access control list (ACL) entries for the specified directory. A object that encapsulates the access control rules for the file described by the parameter. The path to a directory containing a object that describes the file's access control list (ACL) information. Gets a object that encapsulates the specified type of access control list (ACL) entries for a particular directory. A object that encapsulates the access control rules for the directory described by the parameter. The path to a directory containing a object that describes the directory's access control list (ACL) information. One (or more) of the values that specifies the type of access control list (ACL) information to receive. [AlphaFS] Gets a object that encapsulates the access control list (ACL) entries for the specified directory. A object that encapsulates the access control rules for the file described by the parameter. The path to a directory containing a object that describes the file's access control list (ACL) information. Indicates the format of the path parameter(s). [AlphaFS] Gets a object that encapsulates the specified type of access control list (ACL) entries for a particular directory. A object that encapsulates the access control rules for the directory described by the parameter. The path to a directory containing a object that describes the directory's access control list (ACL) information. One (or more) of the values that specifies the type of access control list (ACL) information to receive. Indicates the format of the path parameter(s). [AlphaFS] Gets a object that encapsulates the access control list (ACL) entries for the specified directory handle. A object that encapsulates the access control rules for the file described by the parameter. A to a directory containing a object that describes the directory's access control list (ACL) information. [AlphaFS] Gets a object that encapsulates the specified type of access control list (ACL) entries for a particular directory handle. A object that encapsulates the access control rules for the directory described by the parameter. A to a directory containing a object that describes the directory's access control list (ACL) information. One (or more) of the values that specifies the type of access control list (ACL) information to receive. [AlphaFS] Gets the change date and time of the specified directory. A structure set to the change date and time for the specified directory. This value is expressed in local time. The directory for which to obtain creation date and time information. [AlphaFS] Gets the change date and time of the specified directory. A structure set to the change date and time for the specified directory. This value is expressed in local time. The directory for which to obtain creation date and time information. Indicates the format of the path parameter(s). [AlphaFS] Gets the change date and time, in Coordinated Universal Time (UTC) format, of the specified directory. A structure set to the change date and time for the specified directory. This value is expressed in UTC time. The file for which to obtain change date and time information, in Coordinated Universal Time (UTC) format. [AlphaFS] Gets the change date and time, in Coordinated Universal Time (UTC) format, of the specified directory. A structure set to the change date and time for the specified directory. This value is expressed in UTC time. The file for which to obtain change date and time information, in Coordinated Universal Time (UTC) format. Indicates the format of the path parameter(s). [AlphaFS] Gets the change date and time of the specified directory. A structure set to the change date and time for the specified directory. This value is expressed in local time. An open handle to the directory from which to retrieve information. [AlphaFS] Gets the change date and time, in Coordinated Universal Time (UTC) format, of the specified directory. A structure set to the change date and time for the specified directory. This value is expressed in UTC time. An open handle to the directory from which to retrieve information. [AlphaFS] Gets the change date and time of the specified directory. A structure set to the change date and time for the specified directory. This value is expressed in local time. The transaction. The directory for which to obtain creation date and time information. [AlphaFS] Gets the change date and time of the specified directory. A structure set to the change date and time for the specified directory. This value is expressed in local time. The transaction. The directory for which to obtain creation date and time information. Indicates the format of the path parameter(s). [AlphaFS] Gets the change date and time, in Coordinated Universal Time (UTC) format, of the specified directory. A structure set to the change date and time for the specified directory. This value is expressed in UTC time. The transaction. The file for which to obtain change date and time information, in Coordinated Universal Time (UTC) format. [AlphaFS] Gets the change date and time, in Coordinated Universal Time (UTC) format, of the specified directory. A structure set to the change date and time for the specified directory. This value is expressed in UTC time. The transaction. The file for which to obtain change date and time information, in Coordinated Universal Time (UTC) format. Indicates the format of the path parameter(s). Gets the current working directory of the application. MSDN: Multithreaded applications and shared library code should not use the GetCurrentDirectory function and should avoid using relative path names. The current directory state written by the SetCurrentDirectory function is stored as a global variable in each process, therefore multithreaded applications cannot reliably use this value without possible data corruption from other threads that may also be reading or setting this value. This limitation also applies to the SetCurrentDirectory and GetFullPathName functions. The exception being when the application is guaranteed to be running in a single thread, for example parsing file names from the command line argument string in the main thread prior to creating any additional threads. Using relative path names in multithreaded applications or shared library code can yield unpredictable results and is not supported. The path of the current working directory without a trailing directory separator. Sets the application's current working directory to the specified directory. MSDN: Multithreaded applications and shared library code should not use the GetCurrentDirectory function and should avoid using relative path names. The current directory state written by the SetCurrentDirectory function is stored as a global variable in each process, therefore multithreaded applications cannot reliably use this value without possible data corruption from other threads that may also be reading or setting this value. This limitation also applies to the SetCurrentDirectory and GetFullPathName functions. The exception being when the application is guaranteed to be running in a single thread, for example parsing file names from the command line argument string in the main thread prior to creating any additional threads. Using relative path names in multithreaded applications or shared library code can yield unpredictable results and is not supported. The path to which the current working directory is set. Sets the application's current working directory to the specified directory. MSDN: Multithreaded applications and shared library code should not use the GetCurrentDirectory function and should avoid using relative path names. The current directory state written by the SetCurrentDirectory function is stored as a global variable in each process, therefore multithreaded applications cannot reliably use this value without possible data corruption from other threads that may also be reading or setting this value. This limitation also applies to the SetCurrentDirectory and GetFullPathName functions. The exception being when the application is guaranteed to be running in a single thread, for example parsing file names from the command line argument string in the main thread prior to creating any additional threads. Using relative path names in multithreaded applications or shared library code can yield unpredictable results and is not supported. The path to which the current working directory is set. Indicates the format of the path parameter. Returns the names of all files and subdirectories in the specified directory. An string[] array of the names of files and subdirectories in the specified directory. The EnumerateFileSystemEntries and GetFileSystemEntries methods differ as follows: When you use EnumerateFileSystemEntries, you can start enumerating the collection of entries before the whole collection is returned; when you use GetFileSystemEntries, you must wait for the whole array of entries to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateFiles can be more efficient. The directory for which file and subdirectory names are returned. Returns an array of file system entries that match the specified search criteria. An string[] array of file system entries that match the specified search criteria. The EnumerateFileSystemEntries and GetFileSystemEntries methods differ as follows: When you use EnumerateFileSystemEntries, you can start enumerating the collection of entries before the whole collection is returned; when you use GetFileSystemEntries, you must wait for the whole array of entries to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateFiles can be more efficient. The path to be searched. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Gets an array of all the file names and directory names that match a in a specified path, and optionally searches subdirectories. An string[] array of file system entries that match the specified search criteria. The EnumerateFileSystemEntries and GetFileSystemEntries methods differ as follows: When you use EnumerateFileSystemEntries, you can start enumerating the collection of entries before the whole collection is returned; when you use GetFileSystemEntries, you must wait for the whole array of entries to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateFiles can be more efficient. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. Returns the names of all files and subdirectories in the specified directory. An string[] array of the names of files and subdirectories in the specified directory. The EnumerateFileSystemEntries and GetFileSystemEntries methods differ as follows: When you use EnumerateFileSystemEntries, you can start enumerating the collection of entries before the whole collection is returned; when you use GetFileSystemEntries, you must wait for the whole array of entries to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateFiles can be more efficient. The transaction. The directory for which file and subdirectory names are returned. Returns an array of file system entries that match the specified search criteria. An string[] array of file system entries that match the specified search criteria. The EnumerateFileSystemEntries and GetFileSystemEntries methods differ as follows: When you use EnumerateFileSystemEntries, you can start enumerating the collection of entries before the whole collection is returned; when you use GetFileSystemEntries, you must wait for the whole array of entries to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateFiles can be more efficient. The transaction. The path to be searched. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Gets an array of all the file names and directory names that match a in a specified path, and optionally searches subdirectories. An string[] array of file system entries that match the specified search criteria. The EnumerateFileSystemEntries and GetFileSystemEntries methods differ as follows: When you use EnumerateFileSystemEntries, you can start enumerating the collection of entries before the whole collection is returned; when you use GetFileSystemEntries, you must wait for the whole array of entries to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateFiles can be more efficient. The transaction. The directory to search. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. Returns the volume information, root information, or both for the specified path. The volume information, root information, or both for the specified path, or if path does not contain root directory information. The path of a file or directory. Returns the volume information, root information, or both for the specified path. The volume information, root information, or both for the specified path, or if path does not contain root directory information. The path of a file or directory. Indicates the format of the path parameter(s). [AlphaFS] Returns the volume information, root information, or both for the specified path. The volume information, root information, or both for the specified path, or if path does not contain root directory information. The transaction. The path of a file or directory. Returns the volume information, root information, or both for the specified path. The volume information, root information, or both for the specified path, or if path does not contain root directory information. The transaction. The path of a file or directory. Indicates the format of the path parameter(s). Returns the volume information, root information, or both for the specified path. The volume information, root information, or both for the specified path, or if path does not contain root directory information. The transaction. The path of a file or directory. Indicates the format of the path parameter(s). Retrieves the names of the logical drives on this computer in the form "<drive letter>:\". An array of type that represents the logical drives on a computer. [AlphaFS] Retrieves the names of the logical drives on this computer in the form "<drive letter>:\". An array of type that represents the logical drives on a computer. Retrieve logical drives as known by the Environment. Retrieve only when accessible (IsReady) logical drives. [AlphaFS] Enumerates the drive names of all logical drives on a computer. An IEnumerable of type that represents the logical drives on a computer. Retrieve logical drives as known by the Environment. Retrieve only when accessible (IsReady) logical drives. Enumerates the drive names of all logical drives on a computer. An IEnumerable of type that represents the logical drives on a computer. Retrieve logical drives as known by the Environment. Retrieve only when accessible (IsReady) logical drives. Retrieves the parent directory of the specified path, including both absolute and relative paths. The path for which to retrieve the parent directory. The parent directory, or if is the root directory, including the root of a UNC server or share name. [AlphaFS] Retrieves the parent directory of the specified path, including both absolute and relative paths. The parent directory, or if is the root directory, including the root of a UNC server or share name. The path for which to retrieve the parent directory. Indicates the format of the path parameter(s). [AlphaFS] Retrieves the parent directory of the specified path, including both absolute and relative paths. The parent directory, or if is the root directory, including the root of a UNC server or share name. The transaction. The path for which to retrieve the parent directory. Retrieves the parent directory of the specified path, including both absolute and relative paths. The parent directory, or if is the root directory, including the root of a UNC server or share name. The transaction. The path for which to retrieve the parent directory. Indicates the format of the path parameter(s). Retrieves the parent directory of the specified path, including both absolute and relative paths. The parent directory, or if is the root directory, including the root of a UNC server or share name. The transaction. The path for which to retrieve the parent directory. Indicates the format of the path parameter(s). Applies access control list (ACL) entries described by a object to the specified directory. A directory to add or remove access control list (ACL) entries from. A object that describes an ACL entry to apply to the directory described by the path parameter. Applies access control list (ACL) entries described by a object to the specified directory. Note that unlike this method does not automatically determine what parts of the specified instance has been modified. Instead, the parameter is used to specify what entries from to apply to . A directory to add or remove access control list (ACL) entries from. A object that describes an ACL entry to apply to the directory described by the path parameter. One or more of the values that specifies the type of access control list (ACL) information to set. [AlphaFS] Applies access control list (ACL) entries described by a object to the specified directory. A directory to add or remove access control list (ACL) entries from. A object that describes an ACL entry to apply to the directory described by the path parameter. Indicates the format of the path parameter(s). [AlphaFS] Applies access control list (ACL) entries described by a object to the specified directory. Note that unlike this method does not automatically determine what parts of the specified instance has been modified. Instead, the parameter is used to specify what entries from to apply to . A directory to add or remove access control list (ACL) entries from. A object that describes an ACL entry to apply to the directory described by the path parameter. One or more of the values that specifies the type of access control list (ACL) information to set. Indicates the format of the path parameter(s). Applies access control list (ACL) entries described by a object to the specified directory. A to a file to add or remove access control list (ACL) entries from. A object that describes an ACL entry to apply to the directory described by the path parameter. Applies access control list (ACL) entries described by a object to the specified directory. A to a file to add or remove access control list (ACL) entries from. A object that describes an ACL entry to apply to the directory described by the path parameter. One or more of the values that specifies the type of access control list (ACL) information to set. Sets the date and time the directory was created. The directory for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in local time. Sets the date and time, in coordinated universal time (UTC), that the directory was created. The directory for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. [AlphaFS] Sets the date and time the directory was created. The directory for which to set the creation date and time information. Indicates the format of the path parameter(s). A containing the value to set for the creation date and time of . This value is expressed in local time. [AlphaFS] Sets the date and time the directory was created. The directory for which to set the creation date and time information. Indicates the format of the path parameter(s). A containing the value to set for the creation date and time of . This value is expressed in local time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the directory was created. The directory for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the directory was created. The directory for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time the directory was created. The transaction. The directory for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in local time. [AlphaFS] Sets the date and time the directory was created. The transaction. The directory for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in local time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time the directory was created. The transaction. The directory for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in local time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the directory was created. The transaction. The directory for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the directory was created. The transaction. The directory for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the directory was created. The transaction. The directory for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). Sets the date and time that the specified directory was last accessed. The file for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in local time. Sets the date and time, in coordinated universal time (UTC), that the specified directory was last accessed. The directory for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in UTC time. [AlphaFS] Sets the date and time that the specified directory was last accessed. The file for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in local time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time that the specified directory was last accessed. The file for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in local time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified directory was last accessed. The directory for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in UTC time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified directory was last accessed. The directory for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time that the specified directory was last accessed. The transaction. The directory for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in local time. [AlphaFS] Sets the date and time that the specified directory was last accessed. The transaction. The directory for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in local time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time that the specified directory was last accessed. The transaction. The directory for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in local time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified directory was last accessed. The transaction. The directory for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in UTC time. [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified directory was last accessed. The transaction. The directory for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in UTC time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified directory was last accessed. The transaction. The directory for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets all the date and time stamps for the specified directory, at once. The directory for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in local time. A containing the value to set for the last access date and time of . This value is expressed in local time. A containing the value to set for the last write date and time of . This value is expressed in local time. [AlphaFS] Sets all the date and time stamps for the specified directory, at once. The directory for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in local time. A containing the value to set for the last access date and time of . This value is expressed in local time. A containing the value to set for the last write date and time of . This value is expressed in local time. Indicates the format of the path parameter(s). [AlphaFS] Sets all the date and time stamps for the specified directory, at once. The directory for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in local time. A containing the value to set for the last access date and time of . This value is expressed in local time. A containing the value to set for the last write date and time of . This value is expressed in local time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets all the date and time stamps, in coordinated universal time (UTC), for the specified directory, at once. The directory for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. A containing the value to set for the last access date and time of . This value is expressed in UTC time. A containing the value to set for the last write date and time of . This value is expressed in UTC time. [AlphaFS] Sets all the date and time stamps, in coordinated universal time (UTC), for the specified directory, at once. The directory for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. A containing the value to set for the last access date and time of . This value is expressed in UTC time. A containing the value to set for the last write date and time of . This value is expressed in UTC time. Indicates the format of the path parameter(s). [AlphaFS] Sets all the date and time stamps, in coordinated universal time (UTC), for the specified directory, at once. The directory for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. A containing the value to set for the last access date and time of . This value is expressed in UTC time. A containing the value to set for the last write date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets all the date and time stamps for the specified directory, at once. The transaction. The directory for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in local time. A containing the value to set for the last access date and time of . This value is expressed in local time. A containing the value to set for the last write date and time of . This value is expressed in local time. [AlphaFS] Sets all the date and time stamps for the specified directory, at once. The transaction. The directory for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in local time. A containing the value to set for the last access date and time of . This value is expressed in local time. A containing the value to set for the last write date and time of . This value is expressed in local time. Indicates the format of the path parameter(s). [AlphaFS] Sets all the date and time stamps for the specified directory, at once. The transaction. The directory for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in local time. A containing the value to set for the last access date and time of . This value is expressed in local time. A containing the value to set for the last write date and time of . This value is expressed in local time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets all the date and time stamps, in coordinated universal time (UTC), for the specified directory, at once. The transaction. The directory for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. A containing the value to set for the last access date and time of . This value is expressed in UTC time. A containing the value to set for the last write date and time of . This value is expressed in UTC time. [AlphaFS] Sets all the date and time stamps, in coordinated universal time (UTC), for the specified directory, at once. The transaction. The directory for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. A containing the value to set for the last access date and time of . This value is expressed in UTC time. A containing the value to set for the last write date and time of . This value is expressed in UTC time. Indicates the format of the path parameter(s). [AlphaFS] Sets all the date and time stamps, in coordinated universal time (UTC), for the specified directory, at once. The transaction. The directory for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. A containing the value to set for the last access date and time of . This value is expressed in UTC time. A containing the value to set for the last write date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Transfers the date and time stamps for the specified directories. This method uses BackupSemantics flag to get Timestamp changed for directories. The source directory to get the date and time stamps from. The destination directory to set the date and time stamps. [AlphaFS] Transfers the date and time stamps for the specified directories. This method uses BackupSemantics flag to get Timestamp changed for directories. The source directory to get the date and time stamps from. The destination directory to set the date and time stamps. Indicates the format of the path parameter(s). [AlphaFS] Transfers the date and time stamps for the specified directories. This method uses BackupSemantics flag to get Timestamp changed for directories. The transaction. The source directory to get the date and time stamps from. The destination directory to set the date and time stamps. [AlphaFS] Transfers the date and time stamps for the specified directories. This method uses BackupSemantics flag to get Timestamp changed for directories. The transaction. The source directory to get the date and time stamps from. The destination directory to set the date and time stamps. Indicates the format of the path parameter(s). Sets the date and time that the specified directory was last written to. The directory for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in local time. Sets the date and time, in coordinated universal time (UTC), that the specified directory was last written to. The directory for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in UTC time. [AlphaFS] Sets the date and time that the specified directory was last written to. The directory for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in local time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time that the specified directory was last written to. The directory for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in local time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified directory was last written to. The directory for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in UTC time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified directory was last written to. The directory for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time that the specified directory was last written to. The transaction. The directory for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in local time. [AlphaFS] Sets the date and time that the specified directory was last written to. The transaction. The directory for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in local time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time that the specified directory was last written to. The transaction. The directory for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in local time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified directory was last written to. The transaction. The directory for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in UTC time. [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified directory was last written to. The transaction. The directory for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in UTC time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified directory was last written to. The transaction. The directory for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Compresses a directory using NTFS compression. This will only compress the root items (non recursive). A path that describes a directory to compress. [AlphaFS] Compresses a directory using NTFS compression. This will only compress the root items (non recursive). A path that describes a directory to compress. Indicates the format of the path parameter(s). [AlphaFS] Compresses a directory using NTFS compression. A path that describes a directory to compress. flags that specify how the directory is to be enumerated. [AlphaFS] Compresses a directory using NTFS compression. A path that describes a directory to compress. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Compresses a directory using NTFS compression. This will only compress the root items (non recursive). The transaction. A path that describes a directory to compress. [AlphaFS] Compresses a directory using NTFS compression. This will only compress the root items (non recursive). The transaction. A path that describes a directory to compress. Indicates the format of the path parameter(s). [AlphaFS] Compresses a directory using NTFS compression. The transaction. A path that describes a directory to compress. flags that specify how the directory is to be enumerated. [AlphaFS] Compresses a directory using NTFS compression. The transaction. A path that describes a directory to compress. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Decompresses an NTFS compressed directory. This will only decompress the root items (non recursive). A path that describes a directory to decompress. [AlphaFS] Decompresses an NTFS compressed directory. This will only decompress the root items (non recursive). A path that describes a directory to decompress. Indicates the format of the path parameter(s). [AlphaFS] Decompresses an NTFS compressed directory. A path that describes a directory to decompress. flags that specify how the directory is to be enumerated. [AlphaFS] Decompresses an NTFS compressed directory. A path that describes a directory to decompress. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Decompresses an NTFS compressed directory. This will only decompress the root items (non recursive). The transaction. A path that describes a directory to decompress. [AlphaFS] Decompresses an NTFS compressed directory. This will only decompress the root items (non recursive). The transaction. A path that describes a directory to decompress. Indicates the format of the path parameter(s). [AlphaFS] Decompresses an NTFS compressed directory. The transaction. A path that describes a directory to decompress. flags that specify how the directory is to be enumerated. [AlphaFS] Decompresses an NTFS compressed directory. The transaction. A path that describes a directory to decompress. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Disables NTFS compression of the specified directory and the files in it. This method disables the directory-compression attribute. It will not decompress the current contents of the directory. However, newly created files and directories will be uncompressed. A path to a directory to decompress. [AlphaFS] Disables NTFS compression of the specified directory and the files in it. This method disables the directory-compression attribute. It will not decompress the current contents of the directory. However, newly created files and directories will be uncompressed. A path to a directory to decompress. Indicates the format of the path parameter(s). [AlphaFS] Disables NTFS compression of the specified directory and the files in it. This method disables the directory-compression attribute. It will not decompress the current contents of the directory. However, newly created files and directories will be uncompressed. The transaction. A path to a directory to decompress. [AlphaFS] Disables NTFS compression of the specified directory and the files in it. This method disables the directory-compression attribute. It will not decompress the current contents of the directory. However, newly created files and directories will be uncompressed. The transaction. Indicates the format of the path parameter(s). A path to a directory to decompress. [AlphaFS] Enables NTFS compression of the specified directory and the files in it. This method enables the directory-compression attribute. It will not compress the current contents of the directory. However, newly created files and directories will be compressed. A path to a directory to compress. [AlphaFS] Enables NTFS compression of the specified directory and the files in it. This method enables the directory-compression attribute. It will not compress the current contents of the directory. However, newly created files and directories will be compressed. A path to a directory to compress. Indicates the format of the path parameter(s). [AlphaFS] Enables NTFS compression of the specified directory and the files in it. This method enables the directory-compression attribute. It will not compress the current contents of the directory. However, newly created files and directories will be compressed. The transaction. A path to a directory to compress. [AlphaFS] Enables NTFS compression of the specified directory and the files in it. This method enables the directory-compression attribute. It will not compress the current contents of the directory. However, newly created files and directories will be compressed. The transaction. A path to a directory to compress. Indicates the format of the path parameter(s). Compress/decompress Non-/Transacted files/directories. The transaction. A path that describes a directory to compress. The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. compress, when decompress. Indicates the format of the path parameter(s). [AlphaFS] Decrypts a directory that was encrypted by the current account using the Encrypt method. A path that describes a directory to decrypt. Indicates the format of the path parameter(s). [AlphaFS] Decrypts a directory that was encrypted by the current account using the Encrypt method. A path that describes a directory to decrypt. to decrypt the directory recursively. only decrypt the directory. Indicates the format of the path parameter(s). [AlphaFS] Decrypts a directory that was encrypted by the current account using the Encrypt method. A path that describes a directory to decrypt. [AlphaFS] Decrypts a directory that was encrypted by the current account using the Encrypt method. A path that describes a directory to decrypt. to decrypt the directory recursively. only decrypt the directory. [AlphaFS] Encrypts a directory so that only the account used to encrypt the directory can decrypt it. A path that describes a directory to encrypt. Indicates the format of the path parameter(s). [AlphaFS] Encrypts a directory so that only the account used to encrypt the directory can decrypt it. A path that describes a directory to encrypt. to encrypt the directory recursively. only encrypt the directory. Indicates the format of the path parameter(s). [AlphaFS] Encrypts a directory so that only the account used to encrypt the directory can decrypt it. A path that describes a directory to encrypt. [AlphaFS] Encrypts a directory so that only the account used to encrypt the directory can decrypt it. A path that describes a directory to encrypt. to encrypt the directory recursively. only encrypt the directory. [AlphaFS] Disables encryption of the specified directory and the files in it. This method only creates/modifies the file "Desktop.ini" in the root of and disables encryption by writing: "Disable=1" This method does not affect encryption of files and subdirectories below the indicated directory. The name of the directory for which to disable encryption. Indicates the format of the path parameter(s). [AlphaFS] Disables encryption of the specified directory and the files in it. This method only creates/modifies the file "Desktop.ini" in the root of and disables encryption by writing: "Disable=1" This method does not affect encryption of files and subdirectories below the indicated directory. The name of the directory for which to disable encryption. [AlphaFS] Enables encryption of the specified directory and the files in it. This method only creates/modifies the file "Desktop.ini" in the root of and enables encryption by writing: "Disable=0" This method does not affect encryption of files and subdirectories below the indicated directory. The name of the directory for which to enable encryption. Indicates the format of the path parameter(s). [AlphaFS] Enables encryption of the specified directory and the files in it. This method only creates/modifies the file "Desktop.ini" in the root of and enables encryption by writing: "Disable=0" This method does not affect encryption of files and subdirectories below the indicated directory. The name of the directory for which to enable encryption. Enables/disables encryption of the specified directory and the files in it. This method only creates/modifies the file "Desktop.ini" in the root of and enables/disables encryption by writing: "Disable=0" or "Disable=1". This method does not affect encryption of files and subdirectories below the indicated directory. The name of the directory for which to enable encryption. enabled encryption, disables encryption. Indicates the format of the path parameter(s). Decrypts/encrypts a directory recursively so that only the account used to encrypt the directory can decrypt it. A path that describes a directory to encrypt. encrypt, decrypt. to decrypt the directory recursively. only decrypt files and directories in the root of . Indicates the format of the path parameter(s). [AlphaFS] Retrieves information about files in the directory specified by in mode. An enumeration of records for each file system entry in the specified diretory. A path to a directory from which to retrieve information. [AlphaFS] Retrieves information about files in the directory specified by in mode. An enumeration of records for each file system entry in the specified diretory. A path to a directory from which to retrieve information. Indicates the format of the path parameter(s). [AlphaFS] Retrieves information about files in the directory specified by in specified mode. An enumeration of records for each file system entry in the specified diretory. A path to a directory from which to retrieve information. The mode with which to open a handle to the directory. [AlphaFS] Retrieves information about files in the directory specified by in specified mode. An enumeration of records for each file system entry in the specified diretory. A path to a directory from which to retrieve information. The mode with which to open a handle to the directory. Indicates the format of the path parameter(s). [AlphaFS] Retrieves information about files in the directory handle specified. An IEnumerable of records for each file system entry in the specified diretory. An open handle to the directory from which to retrieve information. [AlphaFS] Retrieves information about files in the directory specified by in mode. An enumeration of records for each file system entry in the specified diretory. The transaction. A path to a directory from which to retrieve information. [AlphaFS] Retrieves information about files in the directory specified by in mode. An enumeration of records for each file system entry in the specified diretory. The transaction. A path to a directory from which to retrieve information. Indicates the format of the path parameter(s). [AlphaFS] Retrieves information about files in the directory specified by in specified mode. An enumeration of records for each file system entry in the specified diretory. The transaction. A path to a directory from which to retrieve information. The mode with which to open a handle to the directory. [AlphaFS] Retrieves information about files in the directory specified by in specified mode. An enumeration of records for each file system entry in the specified diretory. The transaction. A path to a directory from which to retrieve information. The mode with which to open a handle to the directory. Indicates the format of the path parameter(s). Returns an enumerable collection of information about files in the directory handle specified. An IEnumerable of records for each file system entry in the specified diretory. Either use or , not both. The number of files that are returned for each call to GetFileInformationByHandleEx depends on the size of the buffer that is passed to the function. Any subsequent calls to GetFileInformationByHandleEx on the same handle will resume the enumeration operation after the last file is returned. The transaction. An open handle to the directory from which to retrieve information. A path to the directory. The mode with which to open a handle to the directory. suppress any Exception that might be thrown as a result from a failure, such as ACLs protected directories or non-accessible reparse points. Indicates the format of the path parameter(s). [AlphaFS] Gets the properties of the particular directory without following any symbolic links or mount points. Properties include aggregated info from of each encountered file system object, plus additional ones: Total, File, Size and Error. Total: is the total number of enumerated objects. File: is the total number of files. File is considered when object is neither nor . Size: is the total size of enumerated objects. Error: is the total number of errors encountered during enumeration. A dictionary mapping the keys mentioned above to their respective aggregated values. Directory: is an object which has attribute without one. The target directory. [AlphaFS] Gets the properties of the particular directory without following any symbolic links or mount points. Properties include aggregated info from of each encountered file system object, plus additional ones: Total, File, Size and Error. Total: is the total number of enumerated objects. File: is the total number of files. File is considered when object is neither nor . Size: is the total size of enumerated objects. Error: is the total number of errors encountered during enumeration. A dictionary mapping the keys mentioned above to their respective aggregated values. Directory: is an object which has attribute without one. The target directory. Indicates the format of the path parameter(s). [AlphaFS] Gets the properties of the particular directory without following any symbolic links or mount points. Properties include aggregated info from of each encountered file system object, plus additional ones: Total, File, Size and Error. Total: is the total number of enumerated objects. File: is the total number of files. File is considered when object is neither nor . Size: is the total size of enumerated objects. Error: is the total number of errors encountered during enumeration. A dictionary mapping the keys mentioned above to their respective aggregated values. Directory: is an object which has attribute without one. The target directory. flags that specify how the directory is to be enumerated. [AlphaFS] Gets the properties of the particular directory without following any symbolic links or mount points. Properties include aggregated info from of each encountered file system object, plus additional ones: Total, File, Size and Error. Total: is the total number of enumerated objects. File: is the total number of files. File is considered when object is neither nor . Size: is the total size of enumerated objects. Error: is the total number of errors encountered during enumeration. A dictionary mapping the keys mentioned above to their respective aggregated values. Directory: is an object which has attribute without one. The target directory. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Gets the properties of the particular directory without following any symbolic links or mount points. Properties include aggregated info from of each encountered file system object, plus additional ones: Total, File, Size and Error. Total: is the total number of enumerated objects. File: is the total number of files. File is considered when object is neither nor . Size: is the total size of enumerated objects. Error: is the total number of errors encountered during enumeration. A dictionary mapping the keys mentioned above to their respective aggregated values. Directory: is an object which has attribute without one. The transaction. The target directory. [AlphaFS] Gets the properties of the particular directory without following any symbolic links or mount points. Properties include aggregated info from of each encountered file system object, plus additional ones: Total, File, Size and Error. Total: is the total number of enumerated objects. File: is the total number of files. File is considered when object is neither nor . Size: is the total size of enumerated objects. Error: is the total number of errors encountered during enumeration. A dictionary mapping the keys mentioned above to their respective aggregated values. Directory: is an object which has attribute without one. The transaction. The target directory. Indicates the format of the path parameter(s). [AlphaFS] Gets the properties of the particular directory without following any symbolic links or mount points. Properties include aggregated info from of each encountered file system object, plus additional ones: Total, File, Size and Error. Total: is the total number of enumerated objects. File: is the total number of files. File is considered when object is neither nor . Size: is the total size of enumerated objects. Error: is the total number of errors encountered during enumeration. A dictionary mapping the keys mentioned above to their respective aggregated values. Directory: is an object which has attribute without one. The transaction. The target directory. flags that specify how the directory is to be enumerated. [AlphaFS] Gets the properties of the particular directory without following any symbolic links or mount points. Properties include aggregated info from of each encountered file system object, plus additional ones: Total, File, Size and Error. Total: is the total number of enumerated objects. File: is the total number of files. File is considered when object is neither nor . Size: is the total size of enumerated objects. Error: is the total number of errors encountered during enumeration. A dictionary mapping the keys mentioned above to their respective aggregated values. Directory: is an object which has attribute without one. The transaction. The target directory. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Gets the properties of the particular directory without following any symbolic links or mount points. Properties include aggregated info from of each encountered file system object, plus additional ones: Total, File, Size and Error. Total: is the total number of enumerated objects. File: is the total number of files. File is considered when object is neither nor . Size: is the total size of enumerated objects. Error: is the total number of errors encountered during enumeration. A dictionary mapping the keys mentioned above to their respective aggregated values. Directory: is an object which has attribute without one. The transaction. The target directory. flags that specify how the directory is to be enumerated. Indicates the format of the path parameter(s). [AlphaFS] Enumerates the streams of type :$DATA from the specified directory. The path to the directory to enumerate streams of. The streams of type :$DATA in the specified directory. [AlphaFS] Enumerates the streams of type :$DATA from the specified directory. The path to the directory to enumerate streams of. Indicates the format of the path parameter(s). The streams of type :$DATA in the specified directory. [AlphaFS] Enumerates the streams of type :$DATA from the specified directory. The transaction. The path to the directory to enumerate streams of. The streams of type :$DATA in the specified directory. [AlphaFS] Enumerates the streams of type :$DATA from the specified directory. The transaction. The path to the directory to enumerate streams of. Indicates the format of the path parameter(s). The streams of type :$DATA in the specified directory. [AlphaFS] Backs up (export) encrypted directories. This is one of a group of Encrypted File System (EFS) functions that is intended to implement backup and restore functionality, while maintaining files in their encrypted state. The directory being backed up is not decrypted; it is backed up in its encrypted state. If the caller does not have access to the key for the file, the caller needs to export encrypted files. See . To backup an encrypted directory call one of the overloads and specify the directory to backup along with the destination stream of the backup data. This function is intended for the backup of only encrypted directories; see for backup of unencrypted directories. Note that this method does not back up the files inside the directory, only the directory entry itself. The name of the file to be backed up. The destination stream to which the backup data will be written. [AlphaFS] Backs up (export) encrypted directories. This is one of a group of Encrypted File System (EFS) functions that is intended to implement backup and restore functionality, while maintaining files in their encrypted state. The directory being backed up is not decrypted; it is backed up in its encrypted state. If the caller does not have access to the key for the file, the caller needs to export encrypted files. See . To backup an encrypted directory call one of the overloads and specify the directory to backup along with the destination stream of the backup data. This function is intended for the backup of only encrypted directories; see for backup of unencrypted directories. Note that this method does not back up the files inside the directory, only the directory entry itself. The name of the file to be backed up. The destination stream to which the backup data will be written. The path format of the parameter. [AlphaFS] Restores (import) encrypted directories. This is one of a group of Encrypted File System (EFS) functions that is intended to implement backup and restore functionality, while maintaining files in their encrypted state. If the caller does not have access to the key for the directory, the caller needs to restore encrypted directories. See . To restore an encrypted directory call one of the overloads and specify the file to restore along with the destination stream of the restored data. This function is intended for the restoration of only encrypted directories; see for backup of unencrypted files. The stream to read previously backed up data from. The path of the destination directory to restore to. [AlphaFS] Restores (import) encrypted directories. This is one of a group of Encrypted File System (EFS) functions that is intended to implement backup and restore functionality, while maintaining files in their encrypted state. If the caller does not have access to the key for the directory, the caller needs to restore encrypted directories. See . To restore an encrypted directory call one of the overloads and specify the file to restore along with the destination stream of the restored data. This function is intended for the restoration of only encrypted directories; see for backup of unencrypted files. The stream to read previously backed up data from. The path of the destination directory to restore to. The path format of the parameter. [AlphaFS] Restores (import) encrypted directories. This is one of a group of Encrypted File System (EFS) functions that is intended to implement backup and restore functionality, while maintaining files in their encrypted state. If the caller does not have access to the key for the directory, the caller needs to restore encrypted directories. See . To restore an encrypted directory call one of the overloads and specify the file to restore along with the destination stream of the restored data. This function is intended for the restoration of only encrypted directories; see for backup of unencrypted files. The stream to read previously backed up data from. The path of the destination directory to restore to. If set to a hidden directory will be overwritten on import. [AlphaFS] Restores (import) encrypted directories. This is one of a group of Encrypted File System (EFS) functions that is intended to implement backup and restore functionality, while maintaining files in their encrypted state. If the caller does not have access to the key for the directory, the caller needs to restore encrypted directories. See . To restore an encrypted directory call one of the overloads and specify the file to restore along with the destination stream of the restored data. This function is intended for the restoration of only encrypted directories; see for backup of unencrypted files. The stream to read previously backed up data from. The path of the destination directory to restore to. If set to a hidden directory will be overwritten on import. The path format of the parameter. Exposes instance methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited. Refreshes the state of the EntryInfo instance. [AlphaFS] Decrypts a directory that was encrypted by the current account using the Encrypt method. [AlphaFS] Decrypts a directory that was encrypted by the current account using the Encrypt method. to decrypt the directory recursively. only decrypt files and directories in the root of the directory. [AlphaFS] Disables encryption of the specified directory and the files in it. It does not affect encryption of subdirectories below the indicated directory. on success, otherwise. This method will create/change the file "Desktop.ini" and wil set Encryption value: "Disable=0" [AlphaFS] Enables encryption of the specified directory and the files in it. It does not affect encryption of subdirectories below the indicated directory. on success, otherwise. This method will create/change the file "Desktop.ini" and wil set Encryption value: "Disable=1" [AlphaFS] Encrypts a directory so that only the account used to encrypt the directory can decrypt it. [AlphaFS] Decrypts a directory that was encrypted by the current account using the Encrypt method. to encrypt the directory recursively. only encrypt files and directories in the root of the directory. [AlphaFS] Deletes empty subdirectories from the instance. [AlphaFS] Deletes empty subdirectories from the instance. deletes empty subdirectories from this directory and its subdirectories. [AlphaFS] Deletes empty subdirectories from the instance. deletes empty subdirectories from this directory and its subdirectories. overrides read only of empty directories. [AlphaFS] Compresses a directory using NTFS compression. This will only compress the root items (non recursive). [AlphaFS] Compresses a directory using NTFS compression. flags that specify how the directory is to be enumerated. [AlphaFS] Decompresses an NTFS compressed directory. This will only decompress the root items (non recursive). [AlphaFS] Decompresses an NTFS compressed directory. flags that specify how the directory is to be enumerated. [AlphaFS] Disables compression of the specified directory and the files in it. This method disables the directory-compression attribute. It will not decompress the current contents of the directory. However, newly created files and directories will be uncompressed. [AlphaFS] Enables compression of the specified directory and the files in it. This method enables the directory-compression attribute. It will not compress the current contents of the directory. However, newly created files and directories will be compressed. [AlphaFS] Counts file system objects: files, folders or both) in a given directory. The counted number of file system objects. flags that specify how the directory is to be enumerated. [AlphaFS] Counts file system objects: files, folders or both) in a given directory. The counted number of file system objects. The search string to match against the names of directories in path. This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. [AlphaFS] Copies a instance and its contents to a new path. Use this method to prevent overwriting of an existing directory by default. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A new instance if the directory was completely copied. The destination directory path. [AlphaFS] Copies a instance and its contents to a new path. Use this method to prevent overwriting of an existing directory by default. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A new instance if the directory was completely copied. The destination directory path. Indicates the format of the path parameter(s). [AlphaFS] Copies an existing directory to a new directory, allowing the overwriting of an existing directory, can be specified. Option is recommended for very large file transfers. Use this method to allow or prevent overwriting of an existing directory. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. Returns a new directory, or an overwrite of an existing directory if is not . If the directory exists and contains , an is thrown. The destination directory path. that specify how the directory is to be copied. This parameter can be . [AlphaFS] Copies an existing directory to a new directory, allowing the overwriting of an existing directory, can be specified. Option is recommended for very large file transfers. Use this method to allow or prevent overwriting of an existing directory. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. Returns a new directory, or an overwrite of an existing directory if is not . If the directory exists and contains , an is thrown. The destination directory path. that specify how the directory is to be copied. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Copies an existing directory to a new directory, allowing the overwriting of an existing directory, can be specified. and the possibility of notifying the application of its progress through a callback function. Option is recommended for very large file transfers. Use this method to allow or prevent overwriting of an existing directory. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The destination directory path. that specify how the directory is to be copied. This parameter can be . A callback function that is called each time another portion of the directory has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . [AlphaFS] Copies an existing directory to a new directory, allowing the overwriting of an existing directory, can be specified. and the possibility of notifying the application of its progress through a callback function. Option is recommended for very large file transfers. Use this method to allow or prevent overwriting of an existing directory. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The destination directory path. that specify how the directory is to be copied. This parameter can be . A callback function that is called each time another portion of the directory has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). Moves a instance and its contents to a new path. Use this method to prevent overwriting of an existing directory by default. This method does not work across disk volumes. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Move action. The name and path to which to move this directory. The destination cannot be another disk volume or a directory with the identical name. It can be an existing directory to which you want to add this directory as a subdirectory. Moves a instance and its contents to a new path. Use this method to prevent overwriting of an existing directory by default. This method does not work across disk volumes. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A new instance if the directory was completely moved. The name and path to which to move this directory. The destination cannot be another disk volume or a directory with the identical name. It can be an existing directory to which you want to add this directory as a subdirectory. Indicates the format of the path parameter(s). [AlphaFS] Moves a instance and its contents to a new path, can be specified. Use this method to allow or prevent overwriting of an existing directory. This method does not work across disk volumes unless contains . Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A new instance if the directory was completely moved. The name and path to which to move this directory. The destination cannot be another disk volume unless contains , or a directory with the identical name. It can be an existing directory to which you want to add this directory as a subdirectory. that specify how the directory is to be moved. This parameter can be . [AlphaFS] Moves a instance and its contents to a new path, can be specified. Use this method to allow or prevent overwriting of an existing directory. This method does not work across disk volumes unless contains . Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A new instance if the directory was completely moved. The name and path to which to move this directory. The destination cannot be another disk volume unless contains , or a directory with the identical name. It can be an existing directory to which you want to add this directory as a subdirectory. that specify how the directory is to be moved. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Moves a instance and its contents to a new path, can be specified, and the possibility of notifying the application of its progress through a callback function. Use this method to allow or prevent overwriting of an existing directory. This method does not work across disk volumes unless contains . Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Move action. The name and path to which to move this directory. The destination cannot be another disk volume unless contains , or a directory with the identical name. It can be an existing directory to which you want to add this directory as a subdirectory. that specify how the directory is to be moved. This parameter can be . A callback function that is called each time another portion of the directory has been moved. This parameter can be . The argument to be passed to the callback function. This parameter can be . [AlphaFS] Moves a instance and its contents to a new path, can be specified, and the possibility of notifying the application of its progress through a callback function. Use this method to allow or prevent overwriting of an existing directory. This method does not work across disk volumes unless contains . Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Move action. The name and path to which to move this directory. The destination cannot be another disk volume unless contains , or a directory with the identical name. It can be an existing directory to which you want to add this directory as a subdirectory. that specify how the directory is to be moved. This parameter can be . A callback function that is called each time another portion of the directory has been moved. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). Copy/move a Non-/Transacted file or directory including its children to a new location, or can be specified, and the possibility of notifying the application of its progress through a callback function. Option is recommended for very large file transfers. You cannot use the Move method to overwrite an existing file, unless contains . Note that if you attempt to replace a file by moving a file of the same name into that directory, you get an IOException. A class with details of the Copy or Move action. The destination directory path. that specify how the file is to be copied. This parameter can be . that specify how the file is to be moved. This parameter can be . A callback function that is called each time another portion of the file has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . Returns the retrieved long full path. Indicates the format of the path parameter(s). Returns the original path that was passed by the user. A string that represents this object. Applies access control list (ACL) entries described by a object to the directory described by the current DirectoryInfo object. A object that describes an ACL entry to apply to the directory described by the path parameter. Applies access control list (ACL) entries described by a object to the directory described by the current DirectoryInfo object. A object that describes an ACL entry to apply to the directory described by the path parameter. One or more of the values that specifies the type of access control list (ACL) information to set. Refreshes the state of the object. Returns an array of strongly typed entries representing all the files and subdirectories in a directory. An array of strongly typed entries. For subdirectories, the objects returned by this method can be cast to the derived class . Use the value returned by the property to determine whether the represents a file or a directory. If there are no files or directories in the DirectoryInfo, this method returns an empty array. This method is not recursive. For subdirectories, the FileSystemInfo objects returned by this method can be cast to the derived class DirectoryInfo. Use the FileAttributes value returned by the Attributes property to determine whether the FileSystemInfo represents a file or a directory. Retrieves an array of strongly typed objects representing the files and subdirectories that match the specified search criteria. The search string to match against the names of directories in path. This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. An array of strongly typed entries. For subdirectories, the objects returned by this method can be cast to the derived class . Use the value returned by the property to determine whether the represents a file or a directory. If there are no files or directories in the DirectoryInfo, this method returns an empty array. This method is not recursive. For subdirectories, the FileSystemInfo objects returned by this method can be cast to the derived class DirectoryInfo. Use the FileAttributes value returned by the Attributes property to determine whether the FileSystemInfo represents a file or a directory. Retrieves an array of strongly typed objects representing the files and subdirectories that match the specified search criteria. The search string to match against the names of directories in path. This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. An array of strongly typed entries. For subdirectories, the objects returned by this method can be cast to the derived class . Use the value returned by the property to determine whether the represents a file or a directory. If there are no files or directories in the DirectoryInfo, this method returns an empty array. This method is not recursive. For subdirectories, the FileSystemInfo objects returned by this method can be cast to the derived class DirectoryInfo. Use the FileAttributes value returned by the Attributes property to determine whether the FileSystemInfo represents a file or a directory. Returns a file list from the current directory. An array of type . The order of the returned file names is not guaranteed; use the Sort() method if a specific sort order is required. If there are no files in the , this method returns an empty array. The EnumerateFiles and GetFiles methods differ as follows: When you use EnumerateFiles, you can start enumerating the collection of names before the whole collection is returned; when you use GetFiles, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateFiles can be more efficient. Returns a file list from the current directory matching the given search pattern. The search string to match against the names of directories in path. This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. An array of type . The order of the returned file names is not guaranteed; use the Sort() method if a specific sort order is required. If there are no files in the , this method returns an empty array. The EnumerateFiles and GetFiles methods differ as follows: When you use EnumerateFiles, you can start enumerating the collection of names before the whole collection is returned; when you use GetFiles, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateFiles can be more efficient. Returns a file list from the current directory matching the given search pattern and using a value to determine whether to search subdirectories. The search string to match against the names of directories in path. This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. An array of type . The order of the returned file names is not guaranteed; use the Sort() method if a specific sort order is required. If there are no files in the , this method returns an empty array. The EnumerateFiles and GetFiles methods differ as follows: When you use EnumerateFiles, you can start enumerating the collection of names before the whole collection is returned; when you use GetFiles, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateFiles can be more efficient. Returns the subdirectories of the current directory. An array of objects. If there are no subdirectories, this method returns an empty array. This method is not recursive. The EnumerateDirectories and GetDirectories methods differ as follows: When you use EnumerateDirectories, you can start enumerating the collection of names before the whole collection is returned; when you use GetDirectories, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateDirectories can be more efficient. Returns an array of directories in the current matching the given search criteria. An array of type matching . The EnumerateDirectories and GetDirectories methods differ as follows: When you use EnumerateDirectories, you can start enumerating the collection of names before the whole collection is returned; when you use GetDirectories, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateDirectories can be more efficient. The search string to match against the names of directories in path. This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Returns an array of directories in the current matching the given search criteria and using a value to determine whether to search subdirectories. An array of type matching . If there are no subdirectories, or no subdirectories match the searchPattern parameter, this method returns an empty array. The EnumerateDirectories and GetDirectories methods differ as follows: When you use EnumerateDirectories, you can start enumerating the collection of names before the whole collection is returned; when you use GetDirectories, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateDirectories can be more efficient. The search string to match against the names of directories in path. This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. Gets a object that encapsulates the access control list (ACL) entries for the directory described by the current DirectoryInfo object. A object that encapsulates the access control rules for the directory. Gets a object that encapsulates the specified type of access control list (ACL) entries for the directory described by the current object. One of the values that specifies the type of access control list (ACL) information to receive. A object that encapsulates the access control rules for the file described by the path parameter. Returns an enumerable collection of file system information in the current directory. An enumerable collection of file system information in the current directory. Returns an enumerable collection of file system information that matches a specified search pattern. An enumerable collection of file system information objects that matches . The search string to match against the names of directories in path. This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Returns an enumerable collection of file system information that matches a specified search pattern and search subdirectory option. An enumerable collection of file system information objects that matches and . The search string to match against the names of directories in path. This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. [AlphaFS] Returns an enumerable collection of file system information in the current directory. An enumerable collection of file system information in the current directory. flags that specify how the directory is to be enumerated. [AlphaFS] Returns an enumerable collection of file system information that matches a specified search pattern. An enumerable collection of file system information objects that matches . The search string to match against the names of directories in path. This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. Returns an enumerable collection of file information in the current directory. An enumerable collection of the files in the current directory. Returns an enumerable collection of file information that matches a search pattern. An enumerable collection of files that matches . The search string to match against the names of directories in path. This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Returns an enumerable collection of file information that matches a specified search pattern and search subdirectory option. An enumerable collection of files that matches and . The search string to match against the names of directories in path. This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. Returns an enumerable collection of file information in the current directory. An enumerable collection of the files in the current directory. flags that specify how the directory is to be enumerated. Returns an enumerable collection of file information that matches a search pattern. An enumerable collection of files that matches . The search string to match against the names of directories in path. This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. Returns an enumerable collection of directory information in the current directory. An enumerable collection of directories in the current directory. Returns an enumerable collection of directory information that matches a specified search pattern. An enumerable collection of directories that matches . The search string to match against the names of directories in path. This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. Returns an enumerable collection of directory information that matches a specified search pattern and search subdirectory option. An enumerable collection of directories that matches and . The search string to match against the names of directories in path. This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. One of the enumeration values that specifies whether the should include only the current directory or should include all subdirectories. [AlphaFS] Returns an enumerable collection of directory information in the current directory. An enumerable collection of directories in the current directory. flags that specify how the directory is to be enumerated. Returns an enumerable collection of directory information that matches a specified search pattern. An enumerable collection of directories that matches . The search string to match against the names of directories in path. This parameter can contain a combination of valid literal path and wildcard ( and ) characters, but does not support regular expressions. flags that specify how the directory is to be enumerated. Deletes this if it is empty. Deletes this instance of a , specifying whether to delete subdirectories and files. If the has no files or subdirectories, this method deletes the even if recursive is . Attempting to delete a that is not empty when recursive is false throws an . to delete this directory, its subdirectories, and all files; otherwise, . [AlphaFS] Deletes this instance of a , specifying whether to delete files and subdirectories. If the has no files or subdirectories, this method deletes the even if recursive is . Attempting to delete a that is not empty when recursive is false throws an . to delete this directory, its subdirectories, and all files; otherwise, . ignores read only attribute of files and directories. Creates a subdirectory or subdirectories on the specified path. The specified path can be relative to this instance of the class. The specified path. This cannot be a different disk volume. The last directory specified in . Any and all directories specified in path are created, unless some part of path is invalid. The path parameter specifies a directory path, not a file path. If the subdirectory already exists, this method does nothing. Creates a subdirectory or subdirectories on the specified path. The specified path can be relative to this instance of the class. The specified path. This cannot be a different disk volume. The security to apply. The last directory specified in . Any and all directories specified in path are created, unless some part of path is invalid. The path parameter specifies a directory path, not a file path. If the subdirectory already exists, this method does nothing. [AlphaFS] Creates a subdirectory or subdirectories on the specified path. The specified path can be relative to this instance of the class. The last directory specified in . Any and all directories specified in path are created, unless some part of path is invalid. The path parameter specifies a directory path, not a file path. If the subdirectory already exists, this method does nothing. The specified path. This cannot be a different disk volume. When compresses the directory. [AlphaFS] Creates a subdirectory or subdirectories on the specified path. The specified path can be relative to this instance of the class. The specified path. This cannot be a different disk volume. The path of the directory to use as a template when creating the new directory. When compresses the directory. The last directory specified in . Any and all directories specified in path are created, unless some part of path is invalid. The path parameter specifies a directory path, not a file path. If the subdirectory already exists, this method does nothing. [AlphaFS] Creates a subdirectory or subdirectories on the specified path. The specified path can be relative to this instance of the class. The specified path. This cannot be a different disk volume. The security to apply. When compresses the directory. The last directory specified in . Any and all directories specified in path are created, unless some part of path is invalid. The path parameter specifies a directory path, not a file path. If the subdirectory already exists, this method does nothing. [AlphaFS] Creates a subdirectory or subdirectories on the specified path. The specified path can be relative to this instance of the class. The path of the directory to use as a template when creating the new directory. The specified path. This cannot be a different disk volume. When compresses the directory. The security to apply. The last directory specified in . Any and all directories specified in path are created, unless some part of path is invalid. The path parameter specifies a directory path, not a file path. If the subdirectory already exists, this method does nothing. Creates a subdirectory or subdirectories on the specified path. The specified path can be relative to this instance of the DirectoryInfo class. The last directory specified in path as an object. Any and all directories specified in path are created, unless some part of path is invalid. The path parameter specifies a directory path, not a file path. If the subdirectory already exists, this method does nothing. The specified path. This cannot be a different disk volume or Universal Naming Convention (UNC) name. The path of the directory to use as a template when creating the new directory. The security to apply. When compresses the directory. Creates a directory. If the directory already exists, this method does nothing. Creates a directory using a object. The access control to apply to the directory. If the directory already exists, this method does nothing. [AlphaFS] Creates a directory using a object. When compresses the directory. If the directory already exists, this method does nothing. [AlphaFS] Creates a directory using a object. The access control to apply to the directory. When compresses the directory. If the directory already exists, this method does nothing. [AlphaFS] Returns an enumerable collection of instances for the directory. An enumerable collection of instances for the directory. Initializes a new instance of the class on the specified path. The path on which to create the . This constructor does not check if a directory exists. This constructor is a placeholder for a string that is used to access the disk in subsequent operations. The path parameter can be a file name, including a file on a Universal Naming Convention (UNC) share. [AlphaFS] Initializes a new instance of the class on the specified path. The path on which to create the . Indicates the format of the path parameter(s). This constructor does not check if a directory exists. This constructor is a placeholder for a string that is used to access the disk in subsequent operations. [AlphaFS] Special internal implementation. The transaction. The full path on which to create the . Not used. Not used. This constructor does not check if a directory exists. This constructor is a placeholder for a string that is used to access the disk in subsequent operations. [AlphaFS] Initializes a new instance of the class on the specified path. The transaction. The path on which to create the . This constructor does not check if a directory exists. This constructor is a placeholder for a string that is used to access the disk in subsequent operations. [AlphaFS] Initializes a new instance of the class on the specified path. The transaction. The path on which to create the . Indicates the format of the path parameter(s). This constructor does not check if a directory exists. This constructor is a placeholder for a string that is used to access the disk in subsequent operations. Gets a value indicating whether the directory exists. The property returns if any error occurs while trying to determine if the specified directory exists. This can occur in situations that raise exceptions such as passing a directory name with invalid characters or too many characters, a failing or missing disk, or if the caller does not have permission to read the directory. if the directory exists; otherwise, . Gets the name of this instance. The directory name. This Name property returns only the name of the directory, such as "Bin". To get the full path, such as "c:\public\Bin", use the FullName property. Gets the parent directory of a specified subdirectory. The parent directory, or null if the path is null or if the file path denotes a root (such as "\", "C:", or * "\\server\share"). Gets the root portion of the directory. An object that represents the root of the directory. Indicates the operation to be performed when opening a file using the OpenEncryptedFileRaw. (0) Open the file for export (backup). (1) The file is being opened for import (restore). (2) Import (restore) a directory containing encrypted files. This must be combined with one of the previous two flags to indicate the operation. (4) Overwrite a hidden file on import. Defines values that are used with the FindFirstStreamW function to specify the information level of the returned data. Minimum supported client: Windows Vista [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The FindFirstStreamW function retrieves standard stream information. The data is returned in a structure. Used to determine valid enumeration values. All supported enumeration values are less than FindStreamInfoMaxInfoLevel. Specifies control options that filter the device information elements that are added to the device information set. DIGCF_DEFAULT Return only the device that is associated with the system default device interface, if one is set, for the specified device interface classes. DIGCF_PRESENT Return only devices that are currently present. DIGCF_ALLCLASSES Return a list of installed devices for the specified device setup classes or device interface classes. DIGCF_PROFILE Return only devices that are a part of the current hardware profile. DIGCF_DEVICEINTERFACE Return devices that support device interfaces for the specified device interface classes. This flag must be set in the Flags parameter if the Enumerator parameter specifies a Device Instance ID. FILE_INFO_BY_HANDLE_CLASS Identifies the type of file information that GetFileInformationByHandleEx should retrieve or SetFileInformationByHandle should set. FILE_BASIC_INFO Minimal information for the file should be retrieved or set. Used for file handles. FILE_ID_BOTH_DIR_INFO Files in the specified directory should be retrieved. Used for directory handles. Use only when calling GetFileInformationByHandleEx. The number of files returned for each call to GetFileInformationByHandleEx depends on the size of the buffer that is passed to the function. Any subsequent calls to GetFileInformationByHandleEx on the same handle will resume the enumeration operation after the last file is returned. Additional flags that control the search. No additional flags used. Searches are case-sensitive. Uses a larger buffer for directory queries, which can increase performance of the find operation. This value is not supported until Windows Server 2008 R2 and Windows 7. FINDEX_INFO_LEVELS Enumeration - Defines values that are used with the FindFirstFileEx function to specify the information level of the returned data. Minimum supported client: Windows XP [desktop apps | Windows Store apps] Minimum supported server: Windows Server 2003 [desktop apps | Windows Store apps] A standard set of attribute is returned in a structure. The FindFirstFileEx function does not query the short file name, improving overall enumeration speed. This value is not supported until Windows Server 2008 R2 and Windows 7. FINDEX_SEARCH_OPS Enumeration - Defines values that are used with the FindFirstFileEx function to specify the type of filtering to perform. Minimum supported client: Windows XP [desktop apps | Windows Store apps] Minimum supported server: Windows Server 2003 [desktop apps | Windows Store apps] The search for a file that matches a specified file name. The lpSearchFilter parameter of FindFirstFileEx must be NULL when this search operation is used. This is an advisory flag. If the file system supports directory filtering, the function searches for a file that matches the specified name and is also a directory. If the file system does not support directory filtering, this flag is silently ignored.   The lpSearchFilter parameter of the FindFirstFileEx function must be NULL when this search value is used. If directory filtering is desired, this flag can be used on all file systems, but because it is an advisory flag and only affects file systems that support it, the application must examine the file attribute data stored in the lpFindFileData parameter of the FindFirstFileEx function to determine whether the function has returned a handle to a directory. This filtering type is not available. For more information, see Device Interface Classes. Enum for struct ChangeErrorMode. Use the system default, which is to display all error dialog boxes. The system does not display the critical-error-handler message box. Instead, the system sends the error to the calling process/thread. The system does not display the Windows Error Reporting dialog. The system automatically fixes memory alignment faults and makes them invisible to the application. It does this for the calling process and any descendant processes. This feature is only supported by certain processor architectures. The system does not display a message box when it fails to find a file. Instead, the error is returned to the calling process/thread. Flags for SetupDiGetDeviceRegistryProperty(). SPDRP_DEVICEDESC Represents a description of a device instance. SPDRP_HARDWAREID Represents the list of hardware identifiers for a device instance. SPDRP_COMPATIBLEIDS Represents the list of compatible identifiers for a device instance. SPDRP_CLASS Represents the name of the service that is installed for a device instance. SPDRP_CLASS Represents the name of the device setup class that a device instance belongs to. SPDRP_CLASSGUID Represents the of the device setup class that a device instance belongs to. SPDRP_DRIVER Represents the registry entry name of the driver key for a device instance. SPDRP_MFG Represents the name of the manufacturer of a device instance. SPDRP_FRIENDLYNAME Represents the friendly name of a device instance. SPDRP_LOCATION_INFORMATION Represents the bus-specific physical location of a device instance. SPDRP_PHYSICAL_DEVICE_LOCATION Encapsulates the physical device location information provided by a device's firmware to Windows. SPDRP_ENUMERATOR_NAME Represents the name of the enumerator for a device instance. SPDRP_LOCATION_PATHS Represents the location of a device instance in the device tree. SPDRP_BASE_CONTAINERID Represents the value of the base container identifier (ID) .The Windows Plug and Play (PnP) manager assigns this value to the device node (devnode). Volume Attributes used by the GetVolumeInfo() function. No VolumeInfo attributes. FILE_CASE_SENSITIVE_SEARCH The specified volume supports case-sensitive file names. FILE_CASE_PRESERVED_NAMES The specified volume supports preserved case of file names when it places a name on disk. FILE_UNICODE_ON_DISK The specified volume supports Unicode in file names as they appear on disk. FILE_PERSISTENT_ACLS The specified volume preserves and enforces access control lists (ACL). For example, the NTFS file system preserves and enforces ACLs, and the FAT file system does not. FILE_FILE_COMPRESSION The specified volume supports file-based compression. FILE_VOLUME_QUOTAS The specified volume supports disk quotas. FILE_SUPPORTS_SPARSE_FILES The specified volume supports sparse files. FILE_SUPPORTS_REPARSE_POINTS The specified volume supports re-parse points. (does not appear on MSDN) FILE_VOLUME_IS_COMPRESSED The specified volume is a compressed volume, for example, a DoubleSpace volume. FILE_SUPPORTS_OBJECT_IDS The specified volume supports object identifiers. FILE_SUPPORTS_ENCRYPTION The specified volume supports the Encrypted File System (EFS). For more information, see File Encryption. FILE_NAMED_STREAMS The specified volume supports named streams. FILE_READ_ONLY_VOLUME The specified volume is read-only. FILE_SEQUENTIAL_WRITE_ONCE The specified volume is read-only. FILE_SUPPORTS_TRANSACTIONS The specified volume supports transactions.For more information, see About KTM. FILE_SUPPORTS_HARD_LINKS The specified volume supports hard links. For more information, see Hard Links and Junctions. Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP: This value is not supported until Windows Server 2008 R2 and Windows 7. FILE_SUPPORTS_EXTENDED_ATTRIBUTES The specified volume supports extended attributes. An extended attribute is a piece of application-specific metadata that an application can associate with a file and is not part of the file's data. Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP: This value is not supported until Windows Server 2008 R2 and Windows 7. FILE_SUPPORTS_OPEN_BY_FILE_ID The file system supports open by FileID. For more information, see FILE_ID_BOTH_DIR_INFO. Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP: This value is not supported until Windows Server 2008 R2 and Windows 7. FILE_SUPPORTS_USN_JOURNAL The specified volume supports update sequence number (USN) journals. For more information, see Change Journal Records. Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP: This value is not supported until Windows Server 2008 R2 and Windows 7. Defines values that are used with the GetFileAttributesEx and GetFileAttributesTransacted functions to specify the information level of the returned data. The GetFileAttributesEx or GetFileAttributesTransacted function retrieves a standard set of attribute information. The data is returned in a WIN32_FILE_ATTRIBUTE_DATA structure. Opens an encrypted file in order to backup (export) or restore (import) the file. If the function succeeds, it returns ERROR_SUCCESS. If the function fails, it returns a nonzero error code defined in WinError.h. You can use FormatMessage with the FORMAT_MESSAGE_FROM_SYSTEM flag to get a generic text description of the error. Minimum supported client: Windows XP Professional [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The name of the file to be opened. The operation to be performed. [out] The address of a context block that must be presented in subsequent calls to ReadEncryptedFileRaw, WriteEncryptedFileRaw, or CloseEncryptedFileRaw. Closes an encrypted file after a backup or restore operation, and frees associated system resources. Minimum supported client: Windows XP Professional [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] A pointer to a system-defined context block. The OpenEncryptedFileRaw function returns the context block. Backs up (export) encrypted files. This is one of a group of Encrypted File System (EFS) functions that is intended to implement backup and restore functionality, while maintaining files in their encrypted state. If the function succeeds, it returns ERROR_SUCCESS. If the function fails, it returns a nonzero error code defined in WinError.h. You can use FormatMessage with the FORMAT_MESSAGE_FROM_SYSTEM flag to get a generic text description of the error. Minimum supported client: Windows XP Professional [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Restores (import) encrypted files. This is one of a group of Encrypted File System (EFS) functions that is intended to implement backup and restore functionality, while maintaining files in their encrypted state. If the function succeeds, it returns ERROR_SUCCESS. If the function fails, it returns a nonzero error code defined in WinError.h. You can use FormatMessage with the FORMAT_MESSAGE_FROM_SYSTEM flag to get a generic text description of the error. Minimum supported client: Windows XP Professional [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Returns a pointer to an IQueryAssociations object. If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. Minimum supported client: Windows 2000 Professional, Windows XP [desktop apps only] Minimum supported server: Windows 2000 Server [desktop apps only] Searches for and retrieves a file or protocol association-related string from the registry. Return value Type: HRESULT. Returns a standard COM error value, including the following: S_OK, E_POINTER and S_FALSE. Minimum supported client: Windows 2000 Professional Minimum supported server: Windows 2000 Server Exposes methods that simplify the process of retrieving information stored in the registry in association with defining a file type or protocol and associating it with an application. Initializes the IQueryAssociations interface and sets the root key to the appropriate ProgID. If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. Minimum supported client: Windows 2000 Professional, Windows XP [desktop apps only] Minimum supported server: Windows 2000 Server [desktop apps only] Searches for and retrieves a file or protocol association-related string from the registry. A standard COM error value, including the following: S_OK, E_POINTER, S_FALSE Minimum supported client: Windows 2000 Professional, Windows XP [desktop apps only] Minimum supported server: Windows 2000 Server [desktop apps only] Determines whether a path to a file system object such as a file or folder is valid. if the file exists; otherwise, . Call GetLastError for extended error information. This function tests the validity of the path. A path specified by Universal Naming Convention (UNC) is limited to a file only; that is, \\server\share\file is permitted. A network share path to a server or server share is not permitted; that is, \\server or \\server\share. This function returns FALSE if a mounted remote drive is out of service. Minimum supported client: Windows 2000 Professional Minimum supported server: Windows 2000 Server Converts a file URL to a Microsoft MS-DOS path. Type: HRESULT If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. Minimum supported client: Windows 2000 Professional, Windows XP [desktop apps only] Minimum supported server: Windows 2000 Server [desktop apps only] Creates a path from a file URL. Type: HRESULT If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. Minimum supported client: Windows Vista [desktop apps only] Minimum supported server: Windows Server 2008 [desktop apps only] Converts a Microsoft MS-DOS path to a canonicalized URL. Type: HRESULT Returns S_FALSE if pszPath is already in URL format. In this case, pszPath will simply be copied to pszUrl. Otherwise, it returns S_OK if successful or a standard COM error value if not. UrlCreateFromPath does not support extended paths. These are paths that include the extended-length path prefix "\\?\". Minimum supported client: Windows 2000 Professional, Windows XP [desktop apps only] Minimum supported server: Windows 2000 Server [desktop apps only] Tests whether a URL is a specified type. Type: BOOL For all but one of the URL types, UrlIs returns if the URL is the specified type, otherwise. If UrlIs is set to , UrlIs will attempt to determine the URL scheme. If the function is able to determine a scheme, it returns , or . Minimum supported client: Windows 2000 Professional, Windows XP [desktop apps only] Minimum supported server: Windows 2000 Server [desktop apps only] Destroys an icon and frees any memory the icon occupied. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows 2000 Server [desktop apps only] Retrieves information about an object in the file system, such as a file, folder, directory, or drive root. You should call this function from a background thread. Failure to do so could cause the UI to stop responding. Minimum supported client: Windows 2000 Professional [desktop apps only] Minimum supported server: Windows 2000 Server [desktop apps only] Creates a new transaction object. Use the function to close the transaction handle. If the last transaction handle is closed beforea client calls the CommitTransaction function with the transaction handle, then KTM rolls back the transaction. Minimum supported client: Windows Vista Minimum supported server:Windows Server 2008 If the function succeeds, the return value is a handle to the transaction. If the function fails, the return value is INVALID_HANDLE_VALUE. To get extended error information, call the GetLastError function. Requests that the specified transaction be committed. You can commit any transaction handle that has been opened or created using the TRANSACTION_COMMIT permission; any application can commit a transaction, not just the creator. This function can only be called if the transaction is still active, not prepared, pre-prepared, or rolled back. Minimum supported client: Windows Vista Minimum supported server:Windows Server 2008 If the function succeeds, the return value is nonzero. If the function fails, the return value is 0 (zero). To get extended error information, call the GetLastError function. Requests that the specified transaction be rolled back. This function is synchronous. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call the GetLastError function. Closes an open object handle. The CloseHandle function closes handles to the following objects: Access token, Communications device, Console input, Console screen buffer, Event, File, File mapping, I/O completion port, Job, Mailslot, Memory resource notification, Mutex, Named pipe, Pipe, Process, Semaphore, Thread, Transaction, Waitable timer. SetLastError is set to . Minimum supported client: Windows 2000 Professional [desktop apps | Windows Store apps] Minimum supported server: Windows 2000 Server [desktop apps | Windows Store apps] If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. If the application is running under a debugger, the function will throw an exception if it receives either a handle value that is not valid or a pseudo-handle value.This can happen if you close a handle twice, or if you call CloseHandle on a handle returned by the FindFirstFile function instead of calling the FindClose function. Copies an existing file to a new file, notifying the application of its progress through a callback function. This function fails with ERROR_ACCESS_DENIED if the destination file already exists and has the FILE_ATTRIBUTE_HIDDEN or FILE_ATTRIBUTE_READONLY attribute set. This function preserves extended attributes, OLE structured storage, NTFS file system alternate data streams, security resource attributes, and file attributes. Windows 7, Windows Server 2008 R2, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP: Security resource attributes (ATTRIBUTE_SECURITY_INFORMATION) for the existing file are not copied to the new file until Windows 8 and Windows Server 2012. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Filename of the existing file. Filename of the new file. The progress routine. The data. [out] The pb cancel. The copy flags. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Copies an existing file to a new file as a transacted operation, notifying the application of its progress through a callback function. This function fails with ERROR_ACCESS_DENIED if the destination file already exists and has the FILE_ATTRIBUTE_HIDDEN or FILE_ATTRIBUTE_READONLY attribute set. This function preserves extended attributes, OLE structured storage, NTFS file system alternate data streams, security resource attributes, and file attributes. Windows 7, Windows Server 2008 R2, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP: Security resource attributes (ATTRIBUTE_SECURITY_INFORMATION) for the existing file are not copied to the new file until Windows 8 and Windows Server 2012. Minimum supported client: Windows Vista [desktop apps only] Minimum supported server: Windows Server 2008 [desktop apps only] If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Creates or opens a file or I/O device. The most commonly used I/O devices are as follows: file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, and pipe. Minimum supported client: Windows XP. Minimum supported server: Windows Server 2003. If the function succeeds, the return value is an open handle to the specified file, device, named pipe, or mail slot. If the function fails, the return value is Win32Errors.ERROR_INVALID_HANDLE. To get extended error information, call GetLastError. Creates or opens a file or I/O device. The most commonly used I/O devices are as follows: file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, and pipe. Minimum supported client: Windows Vista [desktop apps only]. Minimum supported server: Windows Server 2008 [desktop apps only]. If the function succeeds, the return value is an open handle to the specified file, device, named pipe, or mail slot. If the function fails, the return value is Win32Errors.ERROR_INVALID_HANDLE". To get extended error information, call GetLastError. Creates or opens a named or unnamed file mapping object for a specified file. Minimum supported client: Windows XP. Minimum supported server: Windows Server 2003. If the function succeeds, the return value is a handle to the newly created file mapping object. If the function fails, the return value is . Establishes a hard link between an existing file and a new file. This function is only supported on the NTFS file system, and only for files, not directories. Minimum supported client: Windows XP [desktop apps only]. Minimum supported server: Windows Server 2003 [desktop apps only]. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero (0). To get extended error information, call GetLastError. Establishes a hard link between an existing file and a new file as a transacted operation. This function is only supported on the NTFS file system, and only for files, not directories. Minimum supported client: Windows Vista [desktop apps only]. Minimum supported server: Windows Server 2008 [desktop apps only]. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero (0). To get extended error information, call GetLastError. Creates a symbolic link. Minimum supported client: Windows Vista [desktop apps only]. Minimum supported server: Windows Server 2008 [desktop apps only]. The unmanaged prototype contains a return directive because the CreateSymbolicLink API function returns BOOLEAN, a one-byte data type. The default marshaling for bool is four bytes (to allow seamless integration with BOOL return values). If you were to use the default marshaling for BOOLEAN values, it's likely that you will get erroneous results. The return directive forces PInvoke to marshal just one byte of the return value. Source: http://www.informit.com/guides/content.aspx?g=dotnet&seqNum=762&ns=16196 If the function succeeds, the return value is nonzero. If the function fails, the return value is zero (0). To get extended error information, call GetLastError. Creates a symbolic link as a transacted operation. Minimum supported client: Windows Vista [desktop apps only]. Minimum supported server: Windows Server 2008 [desktop apps only]. The unmanaged prototype contains a return directive because the CreateSymbolicLink API function returns BOOLEAN, a one-byte data type. The default marshaling for bool is four bytes (to allow seamless integration with BOOL return values). If you were to use the default marshaling for BOOLEAN values, it's likely that you will get erroneous results. The return directive forces PInvoke to marshal just one byte of the return value. Source: http://www.informit.com/guides/content.aspx?g=dotnet&seqNum=762&ns=16196 If the function succeeds, the return value is nonzero. If the function fails, the return value is zero (0). To get extended error information, call GetLastError. Decrypts an encrypted file or directory. The DecryptFile function requires exclusive access to the file being decrypted, and will fail if another process is using the file. If the file is not encrypted, DecryptFile simply returns a nonzero value, which indicates success. If lpFileName specifies a read- only file, the function fails and GetLastError returns ERROR_FILE_READ_ONLY. If lpFileName specifies a directory that contains a read-only file, the functions succeeds but the directory is not decrypted. Minimum supported client: Windows XP. Minimum supported server: Windows Server 2003. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Deletes an existing file. If an application attempts to delete a file that does not exist, the DeleteFile function fails with ERROR_FILE_NOT_FOUND. If the file is a read-only file, the function fails with ERROR_ACCESS_DENIED. If the path points to a symbolic link, the symbolic link is deleted, not the target. To delete a target, you must call CreateFile and specify FILE_FLAG_DELETE_ON_CLOSE. Minimum supported client: Windows XP [desktop apps | Windows Store apps]. Minimum supported server: Windows Server 2003 [desktop apps | Windows Store apps]. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero (0). To get extended error information, call GetLastError. Deletes an existing file as a transacted operation. Minimum supported client: Windows Vista [desktop apps only]. Minimum supported server: Windows Server 2008 [desktop apps only]. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero (0). To get extended error information, call GetLastError. Encrypts a file or directory. All data streams in a file are encrypted. All new files created in an encrypted directory are encrypted. The EncryptFile function requires exclusive access to the file being encrypted, and will fail if another process is using the file. If the file is already encrypted, EncryptFile simply returns a nonzero value, which indicates success. If the file is compressed, EncryptFile will decompress the file before encrypting it. If lpFileName specifies a read-only file, the function fails and GetLastError returns ERROR_FILE_READ_ONLY. If lpFileName specifies a directory that contains a read-only file, the functions succeeds but the directory is not encrypted. Minimum supported client: Windows XP. Minimum supported server: Windows Server 2003. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Disables or enables encryption of the specified directory and the files in it. It does not affect encryption of subdirectories below the indicated directory. EncryptionDisable() disables encryption of directories and files. It does not affect the visibility of files with the FILE_ATTRIBUTE_SYSTEM attribute set. This method will create/change the file "Desktop.ini" and wil set Encryption value: "Disable=0|1". Minimum supported client: Windows XP Professional [desktop apps only]. Minimum supported server: Windows Server 2003 [desktop apps only]. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Retrieves the encryption status of the specified file. Minimum supported client: Windows XP Professional [desktop apps only]. Minimum supported server: Windows Server 2003 [desktop apps only]. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Closes a file search handle opened by the FindFirstFile, FindFirstFileEx, FindFirstFileNameW, FindFirstFileNameTransactedW, FindFirstFileTransacted, FindFirstStreamTransactedW, or FindFirstStreamW functions. Minimum supported client: Windows XP [desktop apps | Windows Store apps]. Minimum supported server: Windows Server 2003 [desktop apps | Windows Store apps]. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Searches a directory for a file or subdirectory with a name and attributes that match those specified. A trailing backslash is not allowed and will be removed. Minimum supported client: Windows XP [desktop apps | Windows Store apps]. Minimum supported server: Windows Server 2003 [desktop apps | Windows Store apps]. If the function succeeds, the return value is a search handle used in a subsequent call to FindNextFile or FindClose, and the lpFindFileData parameter contains information about the first file or directory found. If the function fails or fails to locate files from the search string in the lpFileName parameter, the return value is INVALID_HANDLE_VALUE and the contents of lpFindFileData are indeterminate. To get extended error information, call the GetLastError function. Searches a directory for a file or subdirectory with a name that matches a specific name as a transacted operation. A trailing backslash is not allowed and will be removed. Minimum supported client: Windows Vista [desktop apps only]. Minimum supported server: Windows Server 2008 [desktop apps only]. If the function succeeds, the return value is a search handle used in a subsequent call to FindNextFile or FindClose, and the lpFindFileData parameter contains information about the first file or directory found. If the function fails or fails to locate files from the search string in the lpFileName parameter, the return value is INVALID_HANDLE_VALUE and the contents of lpFindFileData are indeterminate. To get extended error information, call the GetLastError function. Creates an enumeration of all the hard links to the specified file. The FindFirstFileNameW function returns a handle to the enumeration that can be used on subsequent calls to the FindNextFileNameW function. Minimum supported client: Windows Vista [desktop apps only]. Minimum supported server: Windows Server 2008 [desktop apps only]. If the function succeeds, the return value is a search handle that can be used with the FindNextFileNameW function or closed with the FindClose function. If the function fails, the return value is INVALID_HANDLE_VALUE (0xffffffff). To get extended error information, call the GetLastError function. Creates an enumeration of all the hard links to the specified file as a transacted operation. The function returns a handle to the enumeration that can be used on subsequent calls to the FindNextFileNameW function. Minimum supported client: Windows Vista [desktop apps only]. Minimum supported server: Windows Server 2008 [desktop apps only]. If the function succeeds, the return value is a search handle that can be used with the FindNextFileNameW function or closed with the FindClose function. If the function fails, the return value is INVALID_HANDLE_VALUE (0xffffffff). To get extended error information, call the GetLastError function. Continues a file search from a previous call to the FindFirstFile, FindFirstFileEx, or FindFirstFileTransacted functions. Minimum supported client: Windows XP [desktop apps | Windows Store apps]. Minimum supported server: Windows Server 2003 [desktop apps | Windows Store apps]. If the function succeeds, the return value is nonzero and the lpFindFileData parameter contains information about the next file or directory found. If the function fails, the return value is zero and the contents of lpFindFileData are indeterminate. To get extended error information, call the GetLastError function. If the function fails because no more matching files can be found, the GetLastError function returns ERROR_NO_MORE_FILES. Continues enumerating the hard links to a file using the handle returned by a successful call to the FindFirstFileName function. Minimum supported client: Windows Vista [desktop apps only]. Minimum supported server: Windows Server 2008 [desktop apps only]. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero (0). To get extended error information, call GetLastError. If no matching files can be found, the GetLastError function returns ERROR_HANDLE_EOF. Flushes the buffers of a specified file and causes all buffered data to be written to a file. Minimum supported client: Windows XP [desktop apps | Windows Store apps]. Minimum supported server: Windows Server 2003 [desktop apps | Windows Store apps]. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Retrieves the actual number of bytes of disk storage used to store a specified file. Minimum supported client: Windows XP [desktop apps only]. Minimum supported server: Windows Server 2003 [desktop apps only]. If the function succeeds, the return value is the low-order DWORD of the actual number of bytes of disk storage used to store the specified file, and if lpFileSizeHigh is non-NULL, the function puts the high-order DWORD of that actual value into the DWORD pointed to by that parameter. This is the compressed file size for compressed files, the actual file size for noncompressed files. If the function fails, and lpFileSizeHigh is NULL, the return value is INVALID_FILE_SIZE. To get extended error information, call GetLastError. If the return value is INVALID_FILE_SIZE and lpFileSizeHigh is non-NULL, an application must call GetLastError to determine whether the function has succeeded (value is NO_ERROR) or failed (value is other than NO_ERROR). Retrieves the actual number of bytes of disk storage used to store a specified file as a transacted operation. Minimum supported client: Windows Vista [desktop apps only]. Minimum supported server: Windows Server 2008 [desktop apps only]. If the function succeeds, the return value is the low-order DWORD of the actual number of bytes of disk storage used to store the specified file, and if lpFileSizeHigh is non-NULL, the function puts the high-order DWORD of that actual value into the DWORD pointed to by that parameter. This is the compressed file size for compressed files, the actual file size for noncompressed files. If the function fails, and lpFileSizeHigh is NULL, the return value is INVALID_FILE_SIZE. To get extended error information, call GetLastError. If the return value is INVALID_FILE_SIZE and lpFileSizeHigh is non-NULL, an application must call GetLastError to determine whether the function has succeeded (value is NO_ERROR) or failed (value is other than NO_ERROR). Retrieves attributes for a specified file or directory. The GetFileAttributes function retrieves file system attribute information. GetFileAttributesEx can obtain other sets of file or directory attribute information. Currently, GetFileAttributesEx retrieves a set of standard attributes that is a superset of the file system attribute information. When the GetFileAttributesEx function is called on a directory that is a mounted folder, it returns the attributes of the directory, not those of the root directory in the volume that the mounted folder associates with the directory. To obtain the attributes of the associated volume, call GetVolumeNameForVolumeMountPoint to obtain the name of the associated volume. Then use the resulting name in a call to GetFileAttributesEx. The results are the attributes of the root directory on the associated volume. Symbolic link behavior: If the path points to a symbolic link, the function returns attributes for the symbolic link. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Retrieves attributes for a specified file or directory. The GetFileAttributes function retrieves file system attribute information. GetFileAttributesEx can obtain other sets of file or directory attribute information. Currently, GetFileAttributesEx retrieves a set of standard attributes that is a superset of the file system attribute information. When the GetFileAttributesEx function is called on a directory that is a mounted folder, it returns the attributes of the directory, not those of the root directory in the volume that the mounted folder associates with the directory. To obtain the attributes of the associated volume, call GetVolumeNameForVolumeMountPoint to obtain the name of the associated volume. Then use the resulting name in a call to GetFileAttributesEx. The results are the attributes of the root directory on the associated volume. Symbolic link behavior: If the path points to a symbolic link, the function returns attributes for the symbolic link. Transacted Operations If a file is open for modification in a transaction, no other thread can open the file for modification until the transaction is committed. Conversely, if a file is open for modification outside of a transaction, no transacted thread can open the file for modification until the non-transacted handle is closed. If a non-transacted thread has a handle opened to modify a file, a call to GetFileAttributesTransacted for that file will fail with an ERROR_TRANSACTIONAL_CONFLICT error. Minimum supported client: Windows Vista [desktop apps only] Minimum supported server: Windows Server 2008 [desktop apps only] If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Retrieves file information for the specified file. If the function succeeds, the return value is nonzero and file information data is contained in the buffer pointed to by the lpByHandleFileInformation parameter. If the function fails, the return value is zero. To get extended error information, call GetLastError. Depending on the underlying network features of the operating system and the type of server connected to, the GetFileInformationByHandle function may fail, return partial information, or full information for the given file. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Retrieves file information for the specified file. Minimum supported client: Windows Vista [desktop apps | Windows Store apps] Minimum supported server: Windows Server 2008 [desktop apps | Windows Store apps] Redistributable: Windows SDK on Windows Server 2003 and Windows XP. The file. The file information by handle class. Information describing the file. Size of the buffer. If the function succeeds, the return value is nonzero and file information data is contained in the buffer pointed to by the lpByHandleFileInformation parameter. If the function fails, the return value is zero. To get extended error information, call GetLastError. Retrieves file information for the specified file. Minimum supported client: Windows Vista [desktop apps | Windows Store apps] Minimum supported server: Windows Server 2008 [desktop apps | Windows Store apps] Redistributable: Windows SDK on Windows Server 2003 and Windows XP. If the function succeeds, the return value is nonzero and file information data is contained in the buffer pointed to by the lpByHandleFileInformation parameter. If the function fails, the return value is zero. To get extended error information, call GetLastError. The file. The file information by handle class. Information describing the file. Size of the buffer. Retrieves the size of the specified file. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Retrieves the final path for the specified file. Minimum supported client: Windows Vista [desktop apps only]. Minimum supported server: Windows Server 2008 [desktop apps only]. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Checks whether the specified address is within a memory-mapped file in the address space of the specified process. If so, the function returns the name of the memory-mapped file. Minimum supported client: Windows XP. Minimum supported server: Windows Server 2003. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Locks the specified file for exclusive access by the calling process. Minimum supported client: Windows XP. Minimum supported server: Windows Server 2003. If the function succeeds, the return value is nonzero (TRUE). If the function fails, the return value is zero (FALSE). To get extended error information, call GetLastError. Maps a view of a file mapping into the address space of a calling process. Minimum supported client: Windows XP. Minimum supported server: Windows Server 2003. If the function succeeds, the return value is the starting address of the mapped view. If the function fails, the return value is . Moves a file or directory, including its children. You can provide a callback function that receives progress notifications. The MoveFileWithProgress function coordinates its operation with the link tracking service, so link sources can be tracked as they are moved. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Filename of the existing file. Filename of the new file. The progress routine. The data. The flags. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Moves an existing file or a directory, including its children, as a transacted operation. You can provide a callback function that receives progress notifications. Minimum supported client: Windows Vista [desktop apps only] Minimum supported server: Windows Server 2008 [desktop apps only] If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. An application-defined callback function used with the CopyFileEx, MoveFileTransacted, and MoveFileWithProgress functions. It is called when a portion of a copy or move operation is completed. The LPPROGRESS_ROUTINE type defines a pointer to this callback function. NativeCopyMoveProgressRoutine (NativeCopyMoveProgressRoutine) is a placeholder for the application-defined function name. Replaces one file with another file, with the option of creating a backup copy of the original file. The replacement file assumes the name of the replaced file and its identity. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Sets the attributes for a file or directory. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP Minimum supported server: Windows Server 2003 Sets the attributes for a file or directory as a transacted operation. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Minimum supported client: Windows Vista [desktop apps only] Minimum supported server: Windows Server 2008 [desktop apps only] Sets the date and time that the specified file or directory was created, last accessed, or last modified. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Unlocks a region in an open file. Unlocking a region enables other processes to access the region. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP Minimum supported server: Windows Server 2003 Unmaps a mapped view of a file from the calling process's address space. Minimum supported client: Windows XP. Minimum supported server: Windows Server 2003. The base address. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Retrieves information about the specified disk, including the amount of free space on the disk. Symbolic link behavior: If the path points to a symbolic link, the operation is performed on the target. If this parameter is a UNC name, it must include a trailing backslash (for example, "\\MyServer\MyShare\"). Furthermore, a drive specification must have a trailing backslash (for example, "C:\"). The calling application must have FILE_LIST_DIRECTORY access rights for this directory. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Full pathname of the root file. [out] The sectors per cluster. [out] The bytes per sector. [out] Number of free clusters. [out] The total number of clusters. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Retrieves information about the amount of space that is available on a disk volume, which is the total amount of space, the total amount of free space, and the total amount of free space available to the user that is associated with the calling thread. Symbolic link behavior: If the path points to a symbolic link, the operation is performed on the target. The GetDiskFreeSpaceEx function returns zero (0) for lpTotalNumberOfFreeBytes and lpFreeBytesAvailable for all CD requests unless the disk is an unwritten CD in a CD-RW drive. If this parameter is a UNC name, it must include a trailing backslash, for example, "\\MyServer\MyShare\". This parameter does not have to specify the root directory on a disk. The function accepts any directory on a disk. The calling application must have FILE_LIST_DIRECTORY access rights for this directory. Minimum supported client: Windows XP [desktop apps | Windows Store apps] Minimum supported server: Windows Server 2003 [desktop apps | Windows Store apps] Pathname of the directory. [out] The free bytes available. [out] The total number of in bytes. [out] The total number of free in bytes. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero (0). To get extended error information, call GetLastError. Creates a new directory. If the underlying file system supports security on files and directories, the function applies a specified security descriptor to the new directory. Some file systems, such as the NTFS file system, support compression or encryption for individual files and directories. On volumes formatted for such a file system, a new directory inherits the compression and encryption attributes of its parent directory. An application can obtain a handle to a directory by calling with the FILE_FLAG_BACKUP_SEMANTICS flag set. Minimum supported client: Windows XP [desktop apps | Windows Store apps] Minimum supported server: Windows Server 2003 [desktop apps | Windows Store apps] Full pathname of the file. The security attributes. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Creates a new directory with the attributes of a specified template directory. If the underlying file system supports security on files and directories, the function applies a specified security descriptor to the new directory. The new directory retains the other attributes of the specified template directory. The CreateDirectoryEx function allows you to create directories that inherit stream information from other directories. This function is useful, for example, when you are using Macintosh directories, which have a resource stream that is needed to properly identify directory contents as an attribute. Some file systems, such as the NTFS file system, support compression or encryption for individual files and directories. On volumes formatted for such a file system, a new directory inherits the compression and encryption attributes of its parent directory. You can obtain a handle to a directory by calling the function with the FILE_FLAG_BACKUP_SEMANTICS flag set. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Pathname of the template directory. Full pathname of the file. The security attributes. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero (0). To get extended error information, call GetLastError. Creates a new directory as a transacted operation, with the attributes of a specified template directory. If the underlying file system supports security on files and directories, the function applies a specified security descriptor to the new directory. The new directory retains the other attributes of the specified template directory. The CreateDirectoryTransacted function allows you to create directories that inherit stream information from other directories. This function is useful, for example, when you are using Macintosh directories, which have a resource stream that is needed to properly identify directory contents as an attribute. Some file systems, such as the NTFS file system, support compression or encryption for individual files and directories. On volumes formatted for such a file system, a new directory inherits the compression and encryption attributes of its parent directory. You can obtain a handle to a directory by calling the function with the FILE_FLAG_BACKUP_SEMANTICS flag set. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Pathname of the template directory. Pathname of the new directory. The security attributes. The transaction. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero (0). To get extended error information, call GetLastError. This function fails with ERROR_EFS_NOT_ALLOWED_IN_TRANSACTION if you try to create a child directory with a parent directory that has encryption disabled. Retrieves the current directory for the current process. The RemoveDirectory function marks a directory for deletion on close. Therefore, the directory is not removed until the last handle to the directory is closed. RemoveDirectory removes a directory junction, even if the contents of the target are not empty; the function removes directory junctions regardless of the state of the target object. Minimum supported client: Windows XP [desktop apps | Windows Store apps] Minimum supported server: Windows Server 2003 [desktop apps | Windows Store apps] The length of the buffer for the current directory string, in TCHARs. The buffer length must include room for a terminating null character. A pointer to the buffer that receives the current directory string. This null-terminated string specifies the absolute path to the current directory. To determine the required buffer size, set this parameter to NULL and the nBufferLength parameter to 0. If the function succeeds, the return value specifies the number of characters that are written to the buffer, not including the terminating null character. If the function fails, the return value is zero. To get extended error information, call GetLastError. Deletes an existing empty directory. The RemoveDirectory function marks a directory for deletion on close. Therefore, the directory is not removed until the last handle to the directory is closed. RemoveDirectory removes a directory junction, even if the contents of the target are not empty; the function removes directory junctions regardless of the state of the target object. Minimum supported client: Windows XP [desktop apps | Windows Store apps] Minimum supported server: Windows Server 2003 [desktop apps | Windows Store apps] Full pathname of the file. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Deletes an existing empty directory as a transacted operation. The RemoveDirectoryTransacted function marks a directory for deletion on close. Therefore, the directory is not removed until the last handle to the directory is closed. RemoveDirectory removes a directory junction, even if the contents of the target are not empty; the function removes directory junctions regardless of the state of the target object. Minimum supported client: Windows Vista [desktop apps only] Minimum supported server: Windows Server 2008 [desktop apps only] Full pathname of the file. The transaction. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Changes the current directory for the current process. The path to the new current directory. This parameter may specify a relative path or a full path. In either case, the full path of the specified directory is calculated and stored as the current directory. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. The CM_Connect_Machine function creates a connection to a remote machine. Beginning in Windows 8 and Windows Server 2012 functionality to access remote machines has been removed. You cannot access remote machines when running on these versions of Windows. Available in Microsoft Windows 2000 and later versions of Windows. Name of the unc server. [out] The ph machine. If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h. The CM_Get_Device_ID_Ex function retrieves the device instance ID for a specified device instance on a local or a remote machine. Beginning in Windows 8 and Windows Server 2012 functionality to access remote machines has been removed. You cannot access remote machines when running on these versions of Windows.   Available in Microsoft Windows 2000 and later versions of Windows. The dn development instance. The buffer. Length of the buffer. The ul flags. The machine. If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h. The CM_Disconnect_Machine function removes a connection to a remote machine. Beginning in Windows 8 and Windows Server 2012 functionality to access remote machines has been removed. You cannot access remote machines when running on these versions of Windows. SetLastError is set to . Available in Microsoft Windows 2000 and later versions of Windows. The machine. If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h. The CM_Get_Parent_Ex function obtains a device instance handle to the parent node of a specified device node (devnode) in a local or a remote machine's device tree. Beginning in Windows 8 and Windows Server 2012 functionality to access remote machines has been removed. You cannot access remote machines when running on these versions of Windows. Available in Microsoft Windows 2000 and later versions of Windows. [out] The pdn development instance. The dn development instance. The ul flags. The machine. If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h. Sends a control code directly to a specified device driver, causing the corresponding device to perform the corresponding operation. If the operation completes successfully, the return value is nonzero. If the operation fails or is pending, the return value is zero. To get extended error information, call GetLastError. To retrieve a handle to the device, you must call the function with either the name of a device or the name of the driver associated with a device. To specify a device name, use the following format: \\.\DeviceName Minimum supported client: Windows XP Minimum supported server: Windows Server 2003 The device. The i/o control code. Buffer for in data. Size of the in buffer. Buffer for out data. Size of the out buffer. [out] The bytes returned. The overlapped. Sends a control code directly to a specified device driver, causing the corresponding device to perform the corresponding operation. If the operation completes successfully, the return value is nonzero. If the operation fails or is pending, the return value is zero. To get extended error information, call GetLastError. To retrieve a handle to the device, you must call the function with either the name of a device or the name of the driver associated with a device. To specify a device name, use the following format: \\.\DeviceName Minimum supported client: Windows XP Minimum supported server: Windows Server 2003 The device. The i/o control code. Buffer for in data. Size of the in buffer. Buffer for out data. Size of the out buffer. [out] The bytes returned. The overlapped. The SetupDiDestroyDeviceInfoList function deletes a device information set and frees all associated memory. SetLastError is set to . Available in Microsoft Windows 2000 and later versions of Windows. Information describing the development. The function returns TRUE if it is successful. Otherwise, it returns FALSE and the logged error can be retrieved with a call to GetLastError. The SetupDiEnumDeviceInterfaces function enumerates the device interfaces that are contained in a device information set. Repeated calls to this function return an structure for a different device interface. This function can be called repeatedly to get information about interfaces in a device information set that are associated with a particular device information element or that are associated with all device information elements. Available in Microsoft Windows 2000 and later versions of Windows. Information describing the development. Information describing the development. [in,out] Unique identifier for the interface class. Zero-based index of the member. [in,out] Information describing the device interface. SetupDiEnumDeviceInterfaces returns TRUE if the function completed without error. If the function completed with an error, FALSE is returned and the error code for the failure can be retrieved by calling GetLastError. The SetupDiGetClassDevsEx function returns a handle to a device information set that contains requested device information elements for a local or a remote computer. The caller of SetupDiGetClassDevsEx must delete the returned device information set when it is no longer needed by calling . Available in Microsoft Windows 2000 and later versions of Windows. [in,out] Unique identifier for the class. The enumerator. The parent. The devs ex flags. Set the device information belongs to. Name of the machine. The reserved. If the operation succeeds, SetupDiGetClassDevsEx returns a handle to a device information set that contains all installed devices that matched the supplied parameters. If the operation fails, the function returns INVALID_HANDLE_VALUE. To get extended error information, call GetLastError. The SetupDiGetDeviceInterfaceDetail function returns details about a device interface. The interface detail returned by this function consists of a device path that can be passed to Win32 functions such as CreateFile. Do not attempt to parse the device path symbolic name. The device path can be reused across system starts. Available in Microsoft Windows 2000 and later versions of Windows. Information describing the development. [in,out] Information describing the device interface. [in,out] Information describing the device interface detail. Size of the device interface detail data. Size of the required. [in,out] Information describing the device information. SetupDiGetDeviceInterfaceDetail returns TRUE if the function completed without error. If the function completed with an error, FALSE is returned and the error code for the failure can be retrieved by calling GetLastError. The SetupDiGetDeviceRegistryProperty function retrieves a specified Plug and Play device property. Available in Microsoft Windows 2000 and later versions of Windows. Set the device information belongs to. [in,out] Information describing the device information. The property. [out] Type of the property register data. Buffer for property data. Size of the property buffer. Size of the required. SetupDiGetDeviceRegistryProperty returns TRUE if the call was successful. Otherwise, it returns FALSE and the logged error can be retrieved by making a call to GetLastError. SetupDiGetDeviceRegistryProperty returns the ERROR_INVALID_DATA error code if the requested property does not exist for a device or if the property data is not valid. The FindFirstFileEx function does not query the short file name, improving overall enumeration speed.   The data is returned in a structure, and cAlternateFileName member is always a NULL string. This value is not supported until Windows Server 2008 R2 and Windows 7. Uses a larger buffer for directory queries, which can increase performance of the find operation. This value is not supported until Windows Server 2008 R2 and Windows 7. DefaultFileBufferSize = 4096; Default type buffer size used for reading and writing files. DefaultFileEncoding = Encoding.UTF8; Default type of Encoding used for reading and writing files. MaxDirectoryLength = 255 MaxPath = 260 The specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260 characters. MaxPathUnicode = 32000 When an exception is raised, bit shifting is needed to prevent: "System.OverflowException: Arithmetic operation resulted in an overflow." The BackupRead function can be used to back up a file or directory, including the security information. The function reads data associated with a specified file or directory into a buffer, which can then be written to the backup medium using the WriteFile function. This function is not intended for use in backing up files encrypted under the Encrypted File System. Use ReadEncryptedFileRaw for that purpose. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The file. The buffer. Number of bytes to reads. [out] Number of bytes reads. true to abort. true to process security. [out] The context. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero, indicating that an I/O error occurred. To get extended error information, call GetLastError. The BackupSeek function seeks forward in a data stream initially accessed by using the or function. The function reads data associated with a specified file or directory into a buffer, which can then be written to the backup medium using the WriteFile function. Applications use the BackupSeek function to skip portions of a data stream that cause errors. This function does not seek across stream headers. For example, this function cannot be used to skip the stream name. If an application attempts to seek past the end of a substream, the function fails, the lpdwLowByteSeeked and lpdwHighByteSeeked parameters indicate the actual number of bytes the function seeks, and the file position is placed at the start of the next stream header.   Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The file. The low bytes to seek. The high bytes to seek. [out] The lpdw low bytes seeked. [out] The lpdw high bytes seeked. [out] The context. If the function could seek the requested amount, the function returns a nonzero value. If the function could not seek the requested amount, the function returns zero. To get extended error information, call GetLastError. The BackupWrite function can be used to restore a file or directory that was backed up using . Use the ReadFile function to get a stream of data from the backup medium, then use BackupWrite to write the data to the specified file or directory.   This function is not intended for use in restoring files encrypted under the Encrypted File System. Use WriteEncryptedFileRaw for that purpose. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The file. The buffer. Number of bytes to writes. [out] Number of bytes writtens. true to abort. true to process security. [out] The context. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero, indicating that an I/O error occurred. To get extended error information, call GetLastError. Check is the current handle is not null, not closed and not invalid. The current handle to check. will throw an , will not raise this exception.. on success, otherwise. Check is the current handle is not null, not closed and not invalid. The current handle to check. The result of Marshal.GetLastWin32Error() will throw an , will not raise this exception.. on success, otherwise. Controls whether the system will handle the specified types of serious errors or whether the process will handle them. Because the error mode is set for the entire process, you must ensure that multi-threaded applications do not set different error- mode attributes. Doing so can lead to inconsistent error handling. Minimum supported client: Windows XP [desktop apps only]. Minimum supported server: Windows Server 2003 [desktop apps only]. The mode. The return value is the previous state of the error-mode bit attributes. Controls whether the system will handle the specified types of serious errors or whether the calling thread will handle them. Because the error mode is set for the entire process, you must ensure that multi-threaded applications do not set different error- mode attributes. Doing so can lead to inconsistent error handling. Minimum supported client: Windows 7 [desktop apps only]. Minimum supported server: Windows Server 2008 R2 [desktop apps only]. The new mode. [out] The old mode. The return value is the previous state of the error-mode bit attributes. Retrieves the full path and file name of the specified file or directory. If the function fails for any other reason, the return value is zero. To get extended error information, call GetLastError. The GetFullPathName function is not recommended for multithreaded applications or shared library code. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Retrieves the full path and file name of the specified file or directory as a transacted operation. If the function fails for any other reason, the return value is zero. To get extended error information, call GetLastError. Minimum supported client: Windows Vista [desktop apps only] Minimum supported server: Windows Server 2008 [desktop apps only] Converts the specified path to its long form. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Converts the specified path to its long form as a transacted operation. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Minimum supported client: Windows Vista [desktop apps only] Minimum supported server: Windows Server 2008 [desktop apps only] Retrieves the short path form of the specified path. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP Minimum supported server: Windows Server 2003 Represents a wrapper class for a handle used by the SetupDiGetClassDevs/SetupDiDestroyDeviceInfoList Win32 API functions. Initializes a new instance of the class. Contains the basic information for a file. Used for file handles. Specifying -1 for , , or indicates that operations on the current handle should not affect the given field. (I.e, specifying -1 for will leave the unaffected by writes performed on the current handle.) The time the file was created in format, which is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC). The time the file was last accessed in format. The time the file was last written to in format. The time the file was changed in format. The file attributes. If this is set to 0 in a structure passed to SetFileInformationByHandle then none of the attributes are changed. Contains information that the GetFileInformationByHandle function retrieves. The file attributes. A structure that specifies when a file or directory is created. A structure. For a file, the structure specifies the last time that a file is read from or written to. For a directory, the structure specifies when the directory is created. For both files and directories, the specified date is correct, but the time of day is always set to midnight. A structure. For a file, the structure specifies the last time that a file is written to. For a directory, the structure specifies when the directory is created. The serial number of the volume that contains a file. The high-order part of the file size. The low-order part of the file size. The number of links to this file. For the FAT file system this member is always 1. For the NTFS file system, it can be more than 1. The high-order part of a unique identifier that is associated with a file. The low-order part of a unique identifier that is associated with a file. Controls whether the system will handle the specified types of serious errors or whether the process will handle them. Minimum supported client: Windows 2000 Professional Minimum supported server: Windows 2000 Server ChangeErrorMode is for the Win32 SetThreadErrorMode() method, used to suppress possible pop-ups. One of the values. Contains information about files in the specified directory. Used for directory handles. Use only when calling GetFileInformationByHandleEx. The number of files that are returned for each call to GetFileInformationByHandleEx depends on the size of the buffer that is passed to the function. Any subsequent calls to GetFileInformationByHandleEx on the same handle will resume the enumeration operation after the last file is returned. The offset for the next FILE_ID_BOTH_DIR_INFO structure that is returned. Contains zero (0) if no other entries follow this one. The byte offset of the file within the parent directory. This member is undefined for file systems, such as NTFS, in which the position of a file within the parent directory is not fixed and can be changed at any time to maintain sort order. The time that the file was created. The time that the file was last accessed. The time that the file was last written to. The time that the file was last changed. The absolute new end-of-file position as a byte offset from the start of the file to the end of the file. Because this value is zero-based, it actually refers to the first free byte in the file. In other words, EndOfFile is the offset to the byte that immediately follows the last valid byte in the file. The number of bytes that are allocated for the file. This value is usually a multiple of the sector or cluster size of the underlying physical device. The file attributes. The length of the file name. The size of the extended attributes for the file. The length of ShortName. The short 8.3 file naming convention (for example, "FILENAME.TXT") name of the file. The file ID. The first character of the file name string. This is followed in memory by the remainder of the string. Represents the number of 100-nanosecond intervals since January 1, 1601. This structure is a 64-bit value. Converts a value to long. Converts a value to long. Determines whether the specified Object is equal to the current Object. Another object to compare to. if the specified Object is equal to the current Object; otherwise, . Serves as a hash function for a particular type. A hash code for the current Object. Implements the operator == A. B. The result of the operator. Implements the operator != A. B. The result of the operator. An SP_DEVINFO_DATA structure defines a device instance that is a member of a device information set. The size, in bytes, of the SP_DEVINFO_DATA structure. The GUID of the device's setup class. An opaque handle to the device instance (also known as a handle to the devnode). Reserved. For internal use only. An SP_DEVICE_INTERFACE_DATA structure defines a device interface in a device information set. The size, in bytes, of the SP_DEVICE_INTERFACE_DATA structure. The GUID for the class to which the device interface belongs. Can be one or more of the following: SPINT_ACTIVE (1), SPINT_DEFAULT (2), SPINT_REMOVED (3). Reserved. Do not use. An SP_DEVICE_INTERFACE_DETAIL_DATA structure contains the path for a device interface. The size, in bytes, of the SP_DEVICE_INTERFACE_DETAIL_DATA structure. The device interface path. This path can be passed to Win32 functions such as CreateFile. WIN32_FILE_ATTRIBUTE_DATA structure contains attribute information for a file or directory. The GetFileAttributesEx function uses this structure. Not all file systems can record creation and last access time, and not all file systems record them in the same manner. For example, on the FAT file system, create time has a resolution of 10 milliseconds, write time has a resolution of 2 seconds, and access time has a resolution of 1 day. On the NTFS file system, access time has a resolution of 1 hour. For more information, see File Times. The file attributes of a file. A structure that specifies when a file or directory was created. If the underlying file system does not support creation time, this member is zero. A structure. For a file, the structure specifies when the file was last read from, written to, or for executable files, run. For a directory, the structure specifies when the directory is created. If the underlying file system does not support last access time, this member is zero. On the FAT file system, the specified date for both files and directories is correct, but the time of day is always set to midnight. A structure. For a file, the structure specifies when the file was last written to, truncated, or overwritten, for example, when WriteFile or SetEndOfFile are used. The date and time are not updated when file attributes or security descriptors are changed. For a directory, the structure specifies when the directory is created. If the underlying file system does not support last write time, this member is zero. The high-order DWORD of the file size. This member does not have a meaning for directories. This value is zero unless the file size is greater than MAXDWORD. The size of the file is equal to (nFileSizeHigh * (MAXDWORD+1)) + nFileSizeLow. The low-order DWORD of the file size. This member does not have a meaning for directories. The file size. Contains information about the file that is found by the FindFirstFile, FindFirstFileEx, or FindNextFile function. If a file has a long file name, the complete name appears in the cFileName member, and the 8.3 format truncated version of the name appears in the cAlternateFileName member. Otherwise, cAlternateFileName is empty. If the FindFirstFileEx function was called with a value of FindExInfoBasic in the fInfoLevelId parameter, the cAlternateFileName member will always contain a string value. This remains true for all subsequent calls to the FindNextFile function. As an alternative method of retrieving the 8.3 format version of a file name, you can use the GetShortPathName function. For more information about file names, see File Names, Paths, and Namespaces. Not all file systems can record creation and last access times, and not all file systems record them in the same manner. For example, on the FAT file system, create time has a resolution of 10 milliseconds, write time has a resolution of 2 seconds, and access time has a resolution of 1 day. The NTFS file system delays updates to the last access time for a file by up to 1 hour after the last access. For more information, see File Times. The file attributes of a file. A structure that specifies when a file or directory was created. If the underlying file system does not support creation time, this member is zero. A structure. For a file, the structure specifies when the file was last read from, written to, or for executable files, run. For a directory, the structure specifies when the directory is created. If the underlying file system does not support last access time, this member is zero. On the FAT file system, the specified date for both files and directories is correct, but the time of day is always set to midnight. A structure. For a file, the structure specifies when the file was last written to, truncated, or overwritten, for example, when WriteFile or SetEndOfFile are used. The date and time are not updated when file attributes or security descriptors are changed. For a directory, the structure specifies when the directory is created. If the underlying file system does not support last write time, this member is zero. The high-order DWORD of the file size. This member does not have a meaning for directories. This value is zero unless the file size is greater than MAXDWORD. The size of the file is equal to (nFileSizeHigh * (MAXDWORD+1)) + nFileSizeLow. The low-order DWORD of the file size. This member does not have a meaning for directories. If the dwFileAttributes member includes the FILE_ATTRIBUTE_REPARSE_POINT attribute, this member specifies the reparse point tag. Otherwise, this value is undefined and should not be used. Reserved for future use. The name of the file. An alternative name for the file. This name is in the classic 8.3 file name format. Contains stream data. Type of stream data. Attributes of data to facilitate cross-operating system transfer. Size of data, in bytes. Length of the name of the alternative data stream, in bytes. Defines, redefines, or deletes MS-DOS device names. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Deletes a drive letter or mounted folder. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Retrieves the name of a volume on a computer. FindFirstVolume is used to begin scanning the volumes of a computer. If the function succeeds, the return value is a search handle used in a subsequent call to the FindNextVolume and FindVolumeClose functions. If the function fails to find any volumes, the return value is the INVALID_HANDLE_VALUE error code. To get extended error information, call GetLastError. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Retrieves the name of a mounted folder on the specified volume. FindFirstVolumeMountPoint is used to begin scanning the mounted folders on a volume. If the function succeeds, the return value is a search handle used in a subsequent call to the FindNextVolumeMountPoint and FindVolumeMountPointClose functions. If the function fails to find a mounted folder on the volume, the return value is the INVALID_HANDLE_VALUE error code. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Continues a volume search started by a call to the FindFirstVolume function. FindNextVolume finds one volume per call. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Continues a mounted folder search started by a call to the FindFirstVolumeMountPoint function. FindNextVolumeMountPoint finds one mounted folder per call. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. If no more mounted folders can be found, the GetLastError function returns the ERROR_NO_MORE_FILES error code. In that case, close the search with the FindVolumeMountPointClose function. Minimum supported client: Windows XP Minimum supported server: Windows Server 2003 Closes the specified volume search handle. SetLastError is set to . Minimum supported client: Windows XP [desktop apps only]. Minimum supported server: Windows Server 2003 [desktop apps only]. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Closes the specified mounted folder search handle. SetLastError is set to . Minimum supported client: Windows XP Minimum supported server: Windows Server 2003 If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive. To determine whether a drive is a USB-type drive, call and specify the SPDRP_REMOVAL_POLICY property. SMB does not support volume management functions. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Full pathname of the root file. The return value specifies the type of drive, see . If the function fails, the return value is zero. To get extended error information, call GetLastError. Retrieves a bitmask representing the currently available disk drives. SMB does not support volume management functions. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] If the function succeeds, the return value is a bitmask representing the currently available disk drives. Bit position 0 (the least-significant bit) is drive A, bit position 1 is drive B, bit position 2 is drive C, and so on. If the function fails, the return value is zero. To get extended error information, call GetLastError. Retrieves information about the file system and volume associated with the specified root directory. If all the requested information is retrieved, the return value is nonzero. If not all the requested information is retrieved, the return value is zero. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] "lpRootPathName" must end with a trailing backslash. Retrieves information about the file system and volume associated with the specified file. If all the requested information is retrieved, the return value is nonzero. If not all the requested information is retrieved, the return value is zero. To get extended error information, call GetLastError. To retrieve the current compression state of a file or directory, use FSCTL_GET_COMPRESSION. SMB does not support volume management functions. Minimum supported client: Windows Vista [desktop apps only] Minimum supported server: Windows Server 2008 [desktop apps only] Retrieves a volume GUID path for the volume that is associated with the specified volume mount point (drive letter, volume GUID path, or mounted folder). If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Use GetVolumeNameForVolumeMountPoint to obtain a volume GUID path for use with functions such as SetVolumeMountPoint and FindFirstVolumeMountPoint that require a volume GUID path as an input parameter. SMB does not support volume management functions. Mount points aren't supported by ReFS volumes. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Retrieves the volume mount point where the specified path is mounted. If a specified path is passed, GetVolumePathName returns the path to the volume mount point, which means that it returns the root of the volume where the end point of the specified path is located. For example, assume that you have volume D mounted at C:\Mnt\Ddrive and volume E mounted at "C:\Mnt\Ddrive\Mnt\Edrive". Also assume that you have a file with the path "E:\Dir\Subdir\MyFile". If you pass "C:\Mnt\Ddrive\Mnt\Edrive\Dir\Subdir\MyFile" to GetVolumePathName, it returns the path "C:\Mnt\Ddrive\Mnt\Edrive\". If a network share is specified, GetVolumePathName returns the shortest path for which GetDriveType returns DRIVE_REMOTE, which means that the path is validated as a remote drive that exists, which the current user can access. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Retrieves a list of drive letters and mounted folder paths for the specified volume. Minimum supported client: Windows XP. Minimum supported server: Windows Server 2003. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Sets the label of a file system volume. Minimum supported client: Windows XP [desktop apps only]. Minimum supported server: Windows Server 2003 [desktop apps only]. "lpRootPathName" must end with a trailing backslash. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Associates a volume with a drive letter or a directory on another volume. Minimum supported client: Windows XP [desktop apps only]. Minimum supported server: Windows Server 2003 [desktop apps only]. If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Retrieves information about MS-DOS device names. Minimum supported client: Windows XP [desktop apps only]. Minimum supported server: Windows Server 2003 [desktop apps only]. If the function succeeds, the return value is the number of TCHARs stored into the buffer pointed to by lpTargetPath. If the function fails, the return value is zero. To get extended error information, call GetLastError. If the buffer is too small, the function fails and the last error code is ERROR_INSUFFICIENT_BUFFER. Indicates the format of a path passed to a method. At some point in code you know the full path of file system objects, e.g.: "C:\Windows". For example, Directory.EnumerateFileSystemEntries() will return all files and directories from a given path. Most likely, some processing will happen on the results of the enum. The file or directory may be passed on to another function. Whenever a file path is required, some performance can be gained.   A path like: "C:\Windows" or "\\server\share" is considered a full path for a directory because it is rooted and has a drive/unc path. If the method supports it, and will skip GetFullPath() calls for path resolving of the object, while also avoiding path validation and checks. Using (default) will always call GetFullPath() and perform path validation and checks.   When working in a loop with thousands of files, will give the best performance. The format of the path is automatically detected by the method and internally converted to an extended length path. It can be either a standard (short) full path, an extended length (unicode) full path or a relative path. Example relative path: "Windows". The path is a full path in either normal or extended length (UNICODE) format. Internally it will be converted to an extended length (UNICODE) path. Using this option has a very slight performance advantage compared to using . Example full path: "C:\Windows" or "\\server\share". The path is an extended length path. No additional processing will be done on the path, and it will be used as is. Using this option has a slight performance advantage compared to using . Example long full path: "\\?\C:\Windows" or "\\?\UNC\server\share". The exception that is thrown when an attempt to create a directory or file that already exists was made. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. The message. The inner exception. Initializes a new instance of the class. The data for serializing or deserializing the object. The source and destination for the object. The requested operation could not be completed because the device was not ready. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. The message. The inner exception. Initializes a new instance of the class. The data for serializing or deserializing the object. The source and destination for the object. The operation could not be completed because the directory is read-only. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. The message. The inner exception. Initializes a new instance of the class. The data for serializing or deserializing the object. The source and destination for the object. The operation could not be completed because the directory was not empty. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. The message. The inner exception. Initializes a new instance of the class. The data for serializing or deserializing the object. The source and destination for the object. The operation could not be completed because the file is read-only. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. The message. The inner exception. Initializes a new instance of the class. The data for serializing or deserializing the object. The source and destination for the object. Provides static methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of objects. This class cannot be inherited. [AlphaFS] Calculates the hash/checksum for the given . The name of the file. One of the values. [AlphaFS] Calculates the hash/checksum for the given . The name of the file. One of the values. Indicates the format of the path parameter(s). [AlphaFS] Calculates the hash/checksum for the given . The transaction. The name of the file. One of the values. [AlphaFS] Calculates the hash/checksum for the given . The transaction. The name of the file. One of the values. Indicates the format of the path parameter(s). [AlphaFS] Calculates the hash/checksum for the given . The transaction. One of the values. The name of the file. Indicates the format of the path parameter(s). [AlphaFS] Backs up (export) encrypted files. This is one of a group of Encrypted File System (EFS) functions that is intended to implement backup and restore functionality, while maintaining files in their encrypted state. The file being backed up is not decrypted; it is backed up in its encrypted state. If the caller does not have access to the key for the file, the caller needs to export encrypted files. See . To backup an encrypted file call one of the overloads and specify the file to backup along with the destination stream of the backup data. This function is intended for the backup of only encrypted files; see for backup of unencrypted files. The name of the file to be backed up. The destination stream to which the backup data will be written. [AlphaFS] Backs up (export) encrypted files. This is one of a group of Encrypted File System (EFS) functions that is intended to implement backup and restore functionality, while maintaining files in their encrypted state. The file being backed up is not decrypted; it is backed up in its encrypted state. If the caller does not have access to the key for the file, the caller needs to export encrypted files. See . To backup an encrypted file call one of the overloads and specify the file to backup along with the destination stream of the backup data. This function is intended for the backup of only encrypted files; see for backup of unencrypted files. The name of the file to be backed up. The destination stream to which the backup data will be written. The path format of the parameter. [AlphaFS] Restores (import) encrypted files. This is one of a group of Encrypted File System (EFS) functions that is intended to implement backup and restore functionality, while maintaining files in their encrypted state. If the caller does not have access to the key for the file, the caller needs to restore encrypted files. See . To restore an encrypted file call one of the overloads and specify the file to restore along with the destination stream of the restored data. This function is intended for the restoration of only encrypted files; see for backup of unencrypted files. The stream to read previously backed up data from. The path of the destination file to restore to. [AlphaFS] Restores (import) encrypted files. This is one of a group of Encrypted File System (EFS) functions that is intended to implement backup and restore functionality, while maintaining files in their encrypted state. If the caller does not have access to the key for the file, the caller needs to restore encrypted files. See . To restore an encrypted file call one of the overloads and specify the file to restore along with the destination stream of the restored data. This function is intended for the restoration of only encrypted files; see for backup of unencrypted files. The stream to read previously backed up data from. The path of the destination file to restore to. The path format of the parameter. [AlphaFS] Restores (import) encrypted files. This is one of a group of Encrypted File System (EFS) functions that is intended to implement backup and restore functionality, while maintaining files in their encrypted state. If the caller does not have access to the key for the file, the caller needs to restore encrypted files. See . To restore an encrypted file call one of the overloads and specify the file to restore along with the destination stream of the restored data. This function is intended for the restoration of only encrypted files; see for backup of unencrypted files. The stream to read previously backed up data from. The path of the destination file to restore to. If set to a hidden file will be overwritten on import. [AlphaFS] Restores (import) encrypted files. This is one of a group of Encrypted File System (EFS) functions that is intended to implement backup and restore functionality, while maintaining files in their encrypted state. If the caller does not have access to the key for the file, the caller needs to restore encrypted files. See . To restore an encrypted file call one of the overloads and specify the file to restore along with the destination stream of the restored data. This function is intended for the restoration of only encrypted files; see for backup of unencrypted files. The stream to read previously backed up data from. The path of the destination file to restore to. If set to a hidden file will be overwritten on import. The path format of the parameter. [AlphaFS] Enumerates the streams of type :$DATA from the specified file. The path to the file to enumerate streams of. The streams of type :$DATA in the specified file. [AlphaFS] Enumerates the streams of type :$DATA from the specified file. The path to the file to enumerate streams of. Indicates the format of the path parameter(s). The streams of type :$DATA in the specified file. [AlphaFS] Enumerates the streams of type :$DATA from the specified file. The transaction. The path to the file to enumerate streams of. The streams of type :$DATA in the specified file. [AlphaFS] Enumerates the streams of type :$DATA from the specified file. The transaction. The path to the file to enumerate streams of. Indicates the format of the path parameter(s). The streams of type :$DATA in the specified file. [AlphaFS] Enumerates the streams of type :$DATA from the specified file or directory. The transaction. The path to the file or directory to enumerate streams of. Indicates the format of the path parameter(s). The streams of type :$DATA in the specified file or directory. [AlphaFS] Creates an enumeration of all the hard links to the specified . The name of the file. Indicates the format of the path parameter(s). An enumerable collection of of all the hard links to the specified [AlphaFS] Creates an enumeration of all the hard links to the specified . The name of the file. An enumerable collection of of all the hard links to the specified [AlphaFS] Creates an enumeration of all the hard links to the specified . The transaction. The name of the file. Indicates the format of the path parameter(s). An enumerable collection of of all the hard links to the specified [AlphaFS] Creates an enumeration of all the hard links to the specified . The transaction. The name of the file. An enumerable collection of of all the hard links to the specified [AlphaFS] Creates an enumeration of all the hard links to the specified . The transaction. The name of the file. Indicates the format of the path parameter(s). An enumerable collection of of all the hard links to the specified [AlphaFS] Creates a symbolic link. See to run this method in an elevated state. The name of the target for the symbolic link to be created. The symbolic link to be created. Indicates whether the link target, , is a file or directory. Indicates the format of the path parameter(s). Several Exceptions possible. [AlphaFS] Creates a symbolic link. See to run this method in an elevated state. The name of the target for the symbolic link to be created. The symbolic link to be created. Indicates whether the link target, , is a file or directory. Several Exceptions possible. [AlphaFS] Creates a symbolic link. See to run this method in an elevated state. The transaction. The name of the target for the symbolic link to be created. The symbolic link to be created. Indicates whether the link target, , is a file or directory. Indicates the format of the path parameter(s). Several Exceptions possible. [AlphaFS] Creates a symbolic link. See to run this method in an elevated state. The transaction. The name of the target for the symbolic link to be created. The symbolic link to be created. Indicates whether the link target, , is a file or directory. Several Exceptions possible. Creates a symbolic link. See to run this method in an elevated state. The transaction. The name of the target for the symbolic link to be created. The symbolic link to be created. Indicates whether the link target, , is a file or directory. Indicates the format of the path parameter(s). Several Exceptions possible. [AlphaFS] Establishes a hard link between an existing file and a new file. This function is only supported on the NTFS file system, and only for files, not directories. The name of the new file. This parameter cannot specify the name of a directory. The name of the existing file. This parameter cannot specify the name of a directory. Indicates the format of the path parameter(s). [AlphaFS] Establishes a hard link between an existing file and a new file. This function is only supported on the NTFS file system, and only for files, not directories. The name of the new file. This parameter cannot specify the name of a directory. The name of the existing file. This parameter cannot specify the name of a directory. [AlphaFS] Establishes a hard link between an existing file and a new file. This function is only supported on the NTFS file system, and only for files, not directories. The transaction. The name of the new file. This parameter cannot specify the name of a directory. The name of the existing file. This parameter cannot specify the name of a directory. Indicates the format of the path parameter(s). [AlphaFS] Establishes a hard link between an existing file and a new file. This function is only supported on the NTFS file system, and only for files, not directories. The transaction. The name of the new file. This parameter cannot specify the name of a directory. The name of the existing file. This parameter cannot specify the name of a directory. Establish a hard link between an existing file and a new file. This function is only supported on the NTFS file system, and only for files, not directories. The transaction. The name of the new file. This parameter cannot specify the name of a directory. The name of the existing file. This parameter cannot specify the name of a directory. Indicates the format of the path parameter(s). [AlphaFS] Compresses a file using NTFS compression. A path that describes a file to compress. Indicates the format of the path parameter(s). [AlphaFS] Compresses a file using NTFS compression. A path that describes a file to compress. [AlphaFS] Compresses a file using NTFS compression. The transaction. A path that describes a file to compress. Indicates the format of the path parameter(s). [AlphaFS] Compresses a file using NTFS compression. The transaction. A path that describes a file to compress. [AlphaFS] Decompresses an NTFS compressed file. A path that describes a file to decompress. Indicates the format of the path parameter(s). [AlphaFS] Decompresses an NTFS compressed file. A path that describes a file to decompress. [AlphaFS] Decompresses an NTFS compressed file. The transaction. A path that describes a file to decompress. Indicates the format of the path parameter(s). [AlphaFS] Decompresses an NTFS compressed file. The transaction. A path that describes a file to decompress. Deletes the specified file. If the file to be deleted does not exist, no exception is thrown. The name of the file to be deleted. Wildcard characters are not supported. [AlphaFS] Deletes the specified file. If the file to be deleted does not exist, no exception is thrown. The name of the file to be deleted. Wildcard characters are not supported. overrides the read only of the file. Indicates the format of the path parameter(s). [AlphaFS] Deletes the specified file. If the file to be deleted does not exist, no exception is thrown. The name of the file to be deleted. Wildcard characters are not supported. overrides the read only of the file. [AlphaFS] Deletes the specified file. If the file to be deleted does not exist, no exception is thrown. The transaction. The name of the file to be deleted. Wildcard characters are not supported. [AlphaFS] Deletes the specified file. The transaction. The name of the file to be deleted. Wildcard characters are not supported. overrides the read only of the file. Indicates the format of the path parameter(s). If the file to be deleted does not exist, no exception is thrown. [AlphaFS] Deletes the specified file. The transaction. The name of the file to be deleted. Wildcard characters are not supported. overrides the read only of the file. If the file to be deleted does not exist, no exception is thrown. Deletes a Non-/Transacted file. If the file to be deleted does not exist, no exception is thrown. The transaction. The name of the file to be deleted. overrides the read only of the file. Indicates the format of the path parameter(s). Decrypts a file that was encrypted by the current account using the Encrypt method. A path that describes a file to decrypt. [AlphaFS] Decrypts a file that was encrypted by the current account using the Encrypt method. A path that describes a file to decrypt. Indicates the format of the path parameter(s). Encrypts a file so that only the account used to encrypt the file can decrypt it. A path that describes a file to encrypt. [AlphaFS] Encrypts a file so that only the account used to encrypt the file can decrypt it. A path that describes a file to encrypt. Indicates the format of the path parameter(s). Decrypts/encrypts a file or directory so that only the account used to encrypt the file can decrypt it. Specifies that is a file or directory. A path that describes a file to encrypt. encrypt, decrypt. Indicates the format of the path parameter(s). Creates or opens a file for writing UTF-8 encoded text. The file to be opened for writing. A StreamWriter that writes to the specified file using UTF-8 encoding. [AlphaFS] Creates or opens a file for writing UTF-8 encoded text. The file to be opened for writing. Indicates the format of the path parameter(s). A StreamWriter that writes to the specified file using UTF-8 encoding. [AlphaFS] Creates or opens a file for writing encoded text. The file to be opened for writing. The encoding that is applied to the contents of the file. Indicates the format of the path parameter(s). A StreamWriter that writes to the specified file using UTF-8 encoding. [AlphaFS] Creates or opens a file for writing UTF-8 encoded text. The transaction. The file to be opened for writing. A StreamWriter that writes to the specified file using UTF-8 encoding. [AlphaFS] Creates or opens a file for writing encoded text. The transaction. The file to be opened for writing. The encoding that is applied to the contents of the file. Indicates the format of the path parameter(s). A StreamWriter that writes to the specified file using UTF-8 encoding. Creates or opens a file for writing encoded text. The transaction. The file to be opened for writing. The applied to the contents of the file. Indicates the format of the path parameter(s). A that writes to the specified file using NativeMethods.DefaultFileBufferSize encoding. Copies an existing file to a new file. Overwriting a file of the same name is not allowed. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The file to copy. The name of the destination file. This cannot be a directory or an existing file. Copies an existing file to a new file. Overwriting a file of the same name is allowed. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The file to copy. The name of the destination file. This cannot be a directory. if the destination file should ignoring the read-only and hidden attributes and overwrite; otherwise, . [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is not allowed. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The file to copy. The name of the destination file. This cannot be a directory. Indicates the format of the path parameter(s). [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The file to copy. The name of the destination file. This cannot be a directory. if the destination file should ignoring the read-only and hidden attributes and overwrite; otherwise, . Indicates the format of the path parameter(s). [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is not allowed. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The file to copy. The name of the destination file. This cannot be a directory or an existing file. [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is not allowed. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The file to copy. The name of the destination file. This cannot be a directory. Indicates the format of the path parameter(s). [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The file to copy. The name of the destination file. This cannot be a directory. if the destination file should ignoring the read-only and hidden attributes and overwrite; otherwise, . [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The file to copy. The name of the destination file. This cannot be a directory. if the destination file should ignoring the read-only and hidden attributes and overwrite; otherwise, . Indicates the format of the path parameter(s). [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. can be specified. Option is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The file to copy. The name of the destination file. This cannot be a directory. that specify how the file is to be copied. This parameter can be . [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. can be specified. Option is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The file to copy. The name of the destination file. This cannot be a directory. that specify how the file is to be copied. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. can be specified. Option is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The file to copy. The name of the destination file. This cannot be a directory. that specify how the file is to be copied. This parameter can be . if original Timestamps must be preserved, otherwise. [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. can be specified. Option is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The file to copy. The name of the destination file. This cannot be a directory. that specify how the file is to be copied. This parameter can be . if original Timestamps must be preserved, otherwise. Indicates the format of the path parameter(s). [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. can be specified, and the possibility of notifying the application of its progress through a callback function. A class with details of the Copy action. Option is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The file to copy. The name of the destination file. This cannot be a directory. that specify how the file is to be copied. This parameter can be . A callback function that is called each time another portion of the file has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. can be specified, and the possibility of notifying the application of its progress through a callback function. A class with details of the Copy action. Option is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The file to copy. The name of the destination file. This cannot be a directory. that specify how the file is to be copied. This parameter can be . A callback function that is called each time another portion of the file has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. can be specified, and the possibility of notifying the application of its progress through a callback function. A class with details of the Copy action. Option is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The file to copy. The name of the destination file. This cannot be a directory. that specify how the file is to be copied. This parameter can be . if original Timestamps must be preserved, otherwise. A callback function that is called each time another portion of the file has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. can be specified, and the possibility of notifying the application of its progress through a callback function. A class with details of the Copy action. Option is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The file to copy. The name of the destination file. This cannot be a directory. that specify how the file is to be copied. This parameter can be . if original Timestamps must be preserved, otherwise. A callback function that is called each time another portion of the file has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. can be specified. Option is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The file to copy. The name of the destination file. This cannot be a directory. that specify how the file is to be copied. This parameter can be . [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. can be specified. Option is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The file to copy. The name of the destination file. This cannot be a directory. that specify how the file is to be copied. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. can be specified. Option is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The file to copy. The name of the destination file. This cannot be a directory. that specify how the file is to be copied. This parameter can be . if original Timestamps must be preserved, otherwise. [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. can be specified. Option is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The file to copy. The name of the destination file. This cannot be a directory. that specify how the file is to be copied. This parameter can be . if original Timestamps must be preserved, otherwise. Indicates the format of the path parameter(s). [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. can be specified, and the possibility of notifying the application of its progress through a callback function. A class with details of the Copy action. Option is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The file to copy. The name of the destination file. This cannot be a directory. that specify how the file is to be copied. This parameter can be . A callback function that is called each time another portion of the file has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. can be specified, and the possibility of notifying the application of its progress through a callback function. A class with details of the Copy action. Option is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The file to copy. The name of the destination file. This cannot be a directory. that specify how the file is to be copied. This parameter can be . A callback function that is called each time another portion of the file has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. can be specified, and the possibility of notifying the application of its progress through a callback function. A class with details of the Copy action. Option is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The file to copy. The name of the destination file. This cannot be a directory. that specify how the file is to be copied. This parameter can be . if original Timestamps must be preserved, otherwise. A callback function that is called each time another portion of the file has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. can be specified, and the possibility of notifying the application of its progress through a callback function. A class with details of the Copy action. Option is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The file to copy. The name of the destination file. This cannot be a directory. that specify how the file is to be copied. This parameter can be . if original Timestamps must be preserved, otherwise. A callback function that is called each time another portion of the file has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). Moves a specified file to a new location, providing the option to specify a new file name. This method works across disk volumes, and it does not throw an exception if the source and destination are the same. Note that if you attempt to replace a file by moving a file of the same name into that directory, you get an . You cannot use the Move method to overwrite an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The name of the file to move. The new path for the file. [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. This method works across disk volumes, and it does not throw an exception if the source and destination are the same. Note that if you attempt to replace a file by moving a file of the same name into that directory, you get an . You cannot use the Move method to overwrite an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The name of the file to move. The new path for the file. Indicates the format of the path parameter(s). [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. This method works across disk volumes, and it does not throw an exception if the source and destination are the same. Note that if you attempt to replace a file by moving a file of the same name into that directory, you get an . You cannot use the Move method to overwrite an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The name of the file to move. The new path for the file. [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. This method works across disk volumes, and it does not throw an exception if the source and destination are the same. Note that if you attempt to replace a file by moving a file of the same name into that directory, you get an . You cannot use the Move method to overwrite an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The name of the file to move. The new path for the file. Indicates the format of the path parameter(s). [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. This method works across disk volumes, and it does not throw an exception if the source and destination are the same. Note that if you attempt to replace a file by moving a file of the same name into that directory, you get an . You cannot use the Move method to overwrite an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The name of the file to move. The new path for the file. that specify how the file is to be moved. This parameter can be . [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. This method works across disk volumes, and it does not throw an exception if the source and destination are the same. Note that if you attempt to replace a file by moving a file of the same name into that directory, you get an . You cannot use the Move method to overwrite an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The name of the file to move. The new path for the file. that specify how the file is to be moved. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. A class with the status of the Move action. This method works across disk volumes, and it does not throw an exception if the source and destination are the same. Note that if you attempt to replace a file by moving a file of the same name into that directory, you get an . You cannot use the Move method to overwrite an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The name of the file to move. The new path for the file. that specify how the file is to be moved. This parameter can be . A callback function that is called each time another portion of the file has been moved. This parameter can be . The argument to be passed to the callback function. This parameter can be . [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. A class with the status of the Move action. This method works across disk volumes, and it does not throw an exception if the source and destination are the same. Note that if you attempt to replace a file by moving a file of the same name into that directory, you get an . You cannot use the Move method to overwrite an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The name of the file to move. The new path for the file. that specify how the file is to be moved. This parameter can be . A callback function that is called each time another portion of the file has been moved. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. This method works across disk volumes, and it does not throw an exception if the source and destination are the same. Note that if you attempt to replace a file by moving a file of the same name into that directory, you get an . You cannot use the Move method to overwrite an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The name of the file to move. The new path for the file. that specify how the file is to be moved. This parameter can be . [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. This method works across disk volumes, and it does not throw an exception if the source and destination are the same. Note that if you attempt to replace a file by moving a file of the same name into that directory, you get an . You cannot use the Move method to overwrite an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The name of the file to move. The new path for the file. that specify how the file is to be moved. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. A class with the status of the Move action. This method works across disk volumes, and it does not throw an exception if the source and destination are the same. Note that if you attempt to replace a file by moving a file of the same name into that directory, you get an . You cannot use the Move method to overwrite an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The name of the file to move. The new path for the file. that specify how the file is to be moved. This parameter can be . A callback function that is called each time another portion of the file has been moved. This parameter can be . The argument to be passed to the callback function. This parameter can be . [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. A class with the status of the Move action. This method works across disk volumes, and it does not throw an exception if the source and destination are the same. Note that if you attempt to replace a file by moving a file of the same name into that directory, you get an . You cannot use the Move method to overwrite an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The transaction. The name of the file to move. The new path for the file. that specify how the file is to be moved. This parameter can be . A callback function that is called each time another portion of the file has been moved. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). Determine the Copy or Move action. Copy/move a Non-/Transacted file or directory including its children to a new location, or can be specified, and the possibility of notifying the application of its progress through a callback function. A class with the status of the Copy or Move action. Option is recommended for very large file transfers. You cannot use the Move method to overwrite an existing file, unless contains . This Move method works across disk volumes, and it does not throw an exception if the source and destination are the same. Note that if you attempt to replace a file by moving a file of the same name into that directory, you get an IOException. Specifies that and are a file or directory. The transaction. The source directory path. The destination directory path. if original Timestamps must be preserved, otherwise. This parameter is ignored for move operations. that specify how the file is to be copied. This parameter can be . Flags that specify how the file or directory is to be moved. This parameter can be . A callback function that is called each time another portion of the file has been copied/moved. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Determines whether the specified file is in use (locked). Returns if the specified file is in use (locked); otherwise, The file to check. [AlphaFS] Determines whether the specified file is in use (locked). Returns if the specified file is in use (locked); otherwise, The file to check. Indicates the format of the path parameter(s). [AlphaFS] Determines whether the specified file is in use (locked). Returns if the specified file is in use (locked); otherwise, The transaction. The file to check. [AlphaFS] Determines whether the specified file is in use (locked). Returns if the specified file is in use (locked); otherwise, The transaction. The file to check. Indicates the format of the path parameter(s). [AlphaFS] Determines whether the specified file is in use (locked). Returns if the specified file is in use (locked); otherwise, The transaction. The file to check. Indicates the format of the path parameter(s). Appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file, writes the specified lines to the file, and then closes the file. The method creates the file if it doesn't exist, but it doesn't create new directories. Therefore, the value of the path parameter must contain existing directories. The file to append the lines to. The file is created if it doesn't already exist. The lines to append to the file. Appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file, writes the specified lines to the file, and then closes the file. The method creates the file if it doesn't exist, but it doesn't create new directories. Therefore, the value of the path parameter must contain existing directories. The file to append the lines to. The file is created if it doesn't already exist. The lines to append to the file. The character to use. [AlphaFS] Appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file, writes the specified lines to the file, and then closes the file. The method creates the file if it doesn't exist, but it doesn't create new directories. Therefore, the value of the path parameter must contain existing directories. The file to append the lines to. The file is created if it doesn't already exist. The lines to append to the file. Indicates the format of the path parameter(s). [AlphaFS] Appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file, writes the specified lines to the file, and then closes the file. The method creates the file if it doesn't exist, but it doesn't create new directories. Therefore, the value of the path parameter must contain existing directories. The file to append the lines to. The file is created if it doesn't already exist. The lines to append to the file. The character to use. Indicates the format of the path parameter(s). [AlphaFS] Appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file, writes the specified lines to the file, and then closes the file. The method creates the file if it doesn't exist, but it doesn't create new directories. Therefore, the value of the path parameter must contain existing directories. The transaction. The file to append the lines to. The file is created if it doesn't already exist. The lines to append to the file. [AlphaFS] Appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file, writes the specified lines to the file, and then closes the file. The method creates the file if it doesn't exist, but it doesn't create new directories. Therefore, the value of the path parameter must contain existing directories. The transaction. The file to append the lines to. The file is created if it doesn't already exist. The lines to append to the file. The character to use. [AlphaFS] Appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file, writes the specified lines to the file, and then closes the file. The method creates the file if it doesn't exist, but it doesn't create new directories. Therefore, the value of the path parameter must contain existing directories. The transaction. The file to append the lines to. The file is created if it doesn't already exist. The lines to append to the file. Indicates the format of the path parameter(s). [AlphaFS] Appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file, writes the specified lines to the file, and then closes the file. The method creates the file if it doesn't exist, but it doesn't create new directories. Therefore, the value of the path parameter must contain existing directories. The transaction. The file to append the lines to. The file is created if it doesn't already exist. The lines to append to the file. The character to use. Indicates the format of the path parameter(s). Appends the specified stringto the file, creating the file if it does not already exist. The file to append the specified string to. The string to append to the file. Appends the specified string to the file, creating the file if it does not already exist. The file to append the specified string to. The string to append to the file. The character to use. [AlphaFS] Appends the specified stringto the file, creating the file if it does not already exist. The file to append the specified string to. The string to append to the file. Indicates the format of the path parameter(s). [AlphaFS] Appends the specified string to the file, creating the file if it does not already exist. The file to append the specified string to. The string to append to the file. The character to use. Indicates the format of the path parameter(s). [AlphaFS] Appends the specified stringto the file, creating the file if it does not already exist. The transaction. The file to append the specified string to. The string to append to the file. [AlphaFS] Appends the specified string to the file, creating the file if it does not already exist. The transaction. The file to append the specified string to. The string to append to the file. The character to use. [AlphaFS] Appends the specified stringto the file, creating the file if it does not already exist. The transaction. The file to append the specified string to. The string to append to the file. Indicates the format of the path parameter(s). [AlphaFS] Appends the specified string to the file, creating the file if it does not already exist. The transaction. The file to append the specified string to. The string to append to the file. The character to use. Indicates the format of the path parameter(s). Creates a new file, writes a collection of strings to the file, and then closes the file. The default behavior of the method is to write out data by using UTF-8 encoding without a byte order mark (BOM). The file to write to. The lines to write to the file. Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. The file to write to. The string array to write to the file. Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. The file to write to. The lines to write to the file. The character to use. Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. The file to write to. The string array to write to the file. The character to use. [AlphaFS] Creates a new file, writes a collection of strings to the file, and then closes the file. The default behavior of the method is to write out data by using UTF-8 encoding without a byte order mark (BOM). The file to write to. The lines to write to the file. Indicates the format of the path parameter(s). [AlphaFS] Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. The file to write to. The string array to write to the file. Indicates the format of the path parameter(s). [AlphaFS] Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. The file to write to. The lines to write to the file. The character to use. Indicates the format of the path parameter(s). [AlphaFS] Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. The file to write to. The string array to write to the file. The character to use. Indicates the format of the path parameter(s). [AlphaFS] Creates a new file, writes a collection of strings to the file, and then closes the file. The default behavior of the method is to write out data by using UTF-8 encoding without a byte order mark (BOM). The transaction. The file to write to. The lines to write to the file. [AlphaFS] Creates a new file, writes a collection of strings to the file, and then closes the file. The default behavior of the method is to write out data by using UTF-8 encoding without a byte order mark (BOM). The transaction. The file to write to. The string array to write to the file. [AlphaFS] Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. The transaction. The file to write to. The lines to write to the file. The character to use. [AlphaFS] Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. The transaction. The file to write to. The string array to write to the file. The character to use. [AlphaFS] Creates a new file, writes a collection of strings to the file, and then closes the file. The default behavior of the method is to write out data by using UTF-8 encoding without a byte order mark (BOM). The transaction. The file to write to. The lines to write to the file. Indicates the format of the path parameter(s). [AlphaFS] Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. The transaction. The file to write to. The string array to write to the file. Indicates the format of the path parameter(s). [AlphaFS] Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. The transaction. The file to write to. The lines to write to the file. The character to use. Indicates the format of the path parameter(s). [AlphaFS] Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. The transaction. The file to write to. The string array to write to the file. The character to use. Indicates the format of the path parameter(s). Creates a new file, writes the specified string to the file, and then closes the file. If the target file already exists, it is overwritten. This method uses UTF-8 encoding without a Byte-Order Mark (BOM) The file to write to. The string to write to the file. Creates a new file, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten. The file to write to. The string to write to the file. The applied to the contents of the file. [AlphaFS] Creates a new file, writes the specified string to the file, and then closes the file. If the target file already exists, it is overwritten. This method uses UTF-8 encoding without a Byte-Order Mark (BOM) The file to write to. The string to write to the file. Indicates the format of the path parameter(s). [AlphaFS] Creates a new file, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten. The file to write to. The string to write to the file. The applied to the contents of the file. Indicates the format of the path parameter(s). [AlphaFS] Creates a new file as part of a transaction, write the contents to the file, and then closes the file. If the target file already exists, it is overwritten. This method uses UTF-8 encoding without a Byte-Order Mark (BOM) The transaction. The file to write to. The string to write to the file. [AlphaFS] Creates a new file as part of a transaction, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten. The transaction. The file to write to. The string to write to the file. The applied to the contents of the file. [AlphaFS] Creates a new file as part of a transaction, write the contents to the file, and then closes the file. If the target file already exists, it is overwritten. This method uses UTF-8 encoding without a Byte-Order Mark (BOM) The transaction. The file to write to. The string to write to the file. Indicates the format of the path parameter(s). [AlphaFS] Creates a new file as part of a transaction, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten. The transaction. The file to write to. The string to write to the file. The applied to the contents of the file. Indicates the format of the path parameter(s). Creates/appends a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. The transaction. The file to write to. The lines to write to the file. The character to use. for file Append, for file Write. to a line terminator, to ommit the line terminator. Indicates the format of the path parameter(s). Creates a that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or to a new file if the specified file does not exist. The path to the file to append to. A stream writer that appends NativeMethods.DefaultFileEncoding encoded text to the specified file or to a new file. Creates a that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or to a new file if the specified file does not exist. The path to the file to append to. Indicates the format of the path parameter(s). A stream writer that appends NativeMethods.DefaultFileEncoding encoded text to the specified file or to a new file. Creates a that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or to a new file if the specified file does not exist. The path to the file to append to. The character to use. Indicates the format of the path parameter(s). A stream writer that appends NativeMethods.DefaultFileEncoding encoded text to the specified file or to a new file. Creates a that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or to a new file if the specified file does not exist. The path to the file to append to. The character to use. A stream writer that appends NativeMethods.DefaultFileEncoding encoded text to the specified file or to a new file. Creates a that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or to a new file if the specified file does not exist. The transaction. The path to the file to append to. A stream writer that appends NativeMethods.DefaultFileEncoding encoded text to the specified file or to a new file. Creates a that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or to a new file if the specified file does not exist. The transaction. The path to the file to append to. Indicates the format of the path parameter(s). A stream writer that appends NativeMethods.DefaultFileEncoding encoded text to the specified file or to a new file. Creates a that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or to a new file if the specified file does not exist. The transaction. The path to the file to append to. The character to use. Indicates the format of the path parameter(s). A stream writer that appends NativeMethods.DefaultFileEncoding encoded text to the specified file or to a new file. Creates a that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or to a new file if the specified file does not exist. The transaction. The path to the file to append to. The character to use. A stream writer that appends NativeMethods.DefaultFileEncoding encoded text to the specified file or to a new file. Creates a that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or to a new file if the specified file does not exist. The transaction. The path to the file to append to. The character to use. Indicates the format of the path parameter(s). A stream writer that appends NativeMethods.DefaultFileEncoding encoded text to the specified file or to a new file. Creates or overwrites a file in the specified path. The path and name of the file to create. A that provides read/write access to the file specified in . Creates or overwrites the specified file. The name of the file. The number of bytes buffered for reads and writes to the file. A with the specified buffer size that provides read/write access to the file specified in . Creates or overwrites the specified file, specifying a buffer size and a value that describes how to create or overwrite the file. The name of the file. The number of bytes buffered for reads and writes to the file. One of the values that describes how to create or overwrite the file. A new file with the specified buffer size. Creates or overwrites the specified file, specifying a buffer size and a value that describes how to create or overwrite the file. The name of the file. The number of bytes buffered for reads and writes to the file. One of the values that describes how to create or overwrite the file. One of the values that determines the access control and audit security for the file. A new file with the specified buffer size, file options, and file security. Creates or overwrites a file in the specified path. The path and name of the file to create. Indicates the format of the path parameter(s). A that provides read/write access to the file specified in . Creates or overwrites the specified file. The name of the file. The number of bytes buffered for reads and writes to the file. Indicates the format of the path parameter(s). A with the specified buffer size that provides read/write access to the file specified in . Creates or overwrites the specified file, specifying a buffer size and a value that describes how to create or overwrite the file. The name of the file. The number of bytes buffered for reads and writes to the file. One of the values that describes how to create or overwrite the file. Indicates the format of the path parameter(s). A new file with the specified buffer size. Creates or overwrites the specified file, specifying a buffer size and a value that describes how to create or overwrite the file. The name of the file. The number of bytes buffered for reads and writes to the file. One of the values that describes how to create or overwrite the file. One of the values that determines the access control and audit security for the file. Indicates the format of the path parameter(s). A new file with the specified buffer size, file options, and file security. Creates or overwrites a file in the specified path. The transaction. The path and name of the file to create. A that provides read/write access to the file specified in . Creates or overwrites the specified file. The transaction. The name of the file. The number of bytes buffered for reads and writes to the file. A with the specified buffer size that provides read/write access to the file specified in . Creates or overwrites the specified file, specifying a buffer size and a value that describes how to create or overwrite the file. The transaction. The name of the file. The number of bytes buffered for reads and writes to the file. One of the values that describes how to create or overwrite the file. A new file with the specified buffer size. Creates or overwrites the specified file, specifying a buffer size and a value that describes how to create or overwrite the file. The transaction. The name of the file. The number of bytes buffered for reads and writes to the file. One of the values that describes how to create or overwrite the file. One of the values that determines the access control and audit security for the file. A new file with the specified buffer size, file options, and file security. Creates or overwrites a file in the specified path. The transaction. The path and name of the file to create. Indicates the format of the path parameter(s). A that provides read/write access to the file specified in . Creates or overwrites the specified file. The transaction. The name of the file. The number of bytes buffered for reads and writes to the file. Indicates the format of the path parameter(s). A with the specified buffer size that provides read/write access to the file specified in . Creates or overwrites the specified file, specifying a buffer size and a value that describes how to create or overwrite the file. The transaction. The name of the file. The number of bytes buffered for reads and writes to the file. One of the values that describes how to create or overwrite the file. Indicates the format of the path parameter(s). A new file with the specified buffer size. Creates or overwrites the specified file, specifying a buffer size and a value that describes how to create or overwrite the file. The transaction. The name of the file. The number of bytes buffered for reads and writes to the file. One of the values that describes how to create or overwrite the file. One of the values that determines the access control and audit security for the file. Indicates the format of the path parameter(s). A new file with the specified buffer size, file options, and file security. Creates or overwrites a file in the specified path. The transaction. The name of the file. The additional advanced options to create a file. A instance that determines the access control and audit security for the file. The option gives you more precise control over how you want to create a file. The allow you additionally specify to default read/write capability - just write, bypassing any cache. The option controls how you would like to share created file with other requesters. Indicates the format of the parameter. The number of bytes buffered for reads and writes to the file. A that provides read/write access to the file specified in path. Creates or opens a file, directory or I/O device. A that provides read/write access to the file or directory specified by . To obtain a directory handle using CreateFile, specify the FILE_FLAG_BACKUP_SEMANTICS flag as part of dwFlagsAndAttributes. The most commonly used I/O devices are as follows: file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, and pipe. The transaction. The path and name of the file or directory to create. One of the values that describes how to create or overwrite the file or directory. A instance that determines the access control and audit security for the file or directory. A constant that determines how to open or create the file or directory. A constant that determines the access rights to use when creating access and audit rules for the file or directory. A constant that determines how the file or directory will be shared by processes. . Indicates the format of the parameter. Determines whether the specified file exists. MSDN: .NET 3.5+: Trailing spaces are removed from the end of the parameter before checking whether the directory exists. The Exists method returns if any error occurs while trying to determine if the specified file exists. This can occur in situations that raise exceptions such as passing a file name with invalid characters or too many characters, a failing or missing disk, or if the caller does not have permission to read the file. The Exists method should not be used for path validation, this method merely checks if the file specified in path exists. Passing an invalid path to Exists returns false. Be aware that another process can potentially do something with the file in between the time you call the Exists method and perform another operation on the file, such as Delete. The file to check. Returns if the caller has the required permissions and contains the name of an existing file; otherwise, [AlphaFS] Determines whether the specified file exists. MSDN: .NET 3.5+: Trailing spaces are removed from the end of the parameter before checking whether the directory exists. The Exists method returns if any error occurs while trying to determine if the specified file exists. This can occur in situations that raise exceptions such as passing a file name with invalid characters or too many characters, a failing or missing disk, or if the caller does not have permission to read the file. The Exists method should not be used for path validation, this method merely checks if the file specified in path exists. Passing an invalid path to Exists returns false. Be aware that another process can potentially do something with the file in between the time you call the Exists method and perform another operation on the file, such as Delete. The file to check. Indicates the format of the path parameter(s). Returns if the caller has the required permissions and contains the name of an existing file; otherwise, [AlphaFS] Determines whether the specified file exists. MSDN: .NET 3.5+: Trailing spaces are removed from the end of the parameter before checking whether the directory exists. The Exists method returns if any error occurs while trying to determine if the specified file exists. This can occur in situations that raise exceptions such as passing a file name with invalid characters or too many characters, a failing or missing disk, or if the caller does not have permission to read the file. The Exists method should not be used for path validation, this method merely checks if the file specified in path exists. Passing an invalid path to Exists returns false. Be aware that another process can potentially do something with the file in between the time you call the Exists method and perform another operation on the file, such as Delete. The transaction. The file to check. Returns if the caller has the required permissions and contains the name of an existing file; otherwise, [AlphaFS] Determines whether the specified file exists. MSDN: .NET 3.5+: Trailing spaces are removed from the end of the parameter before checking whether the directory exists. The Exists method returns if any error occurs while trying to determine if the specified file exists. This can occur in situations that raise exceptions such as passing a file name with invalid characters or too many characters, a failing or missing disk, or if the caller does not have permission to read the file. The Exists method should not be used for path validation, this method merely checks if the file specified in path exists. Passing an invalid path to Exists returns false. Be aware that another process can potentially do something with the file in between the time you call the Exists method and perform another operation on the file, such as Delete. The transaction. The file to check. Indicates the format of the path parameter(s). Returns if the caller has the required permissions and contains the name of an existing file; otherwise, Determines whether the specified file or directory exists. MSDN: .NET 3.5+: Trailing spaces are removed from the end of the parameter before checking whether the directory exists. The Exists method returns if any error occurs while trying to determine if the specified file exists. This can occur in situations that raise exceptions such as passing a file name with invalid characters or too many characters, a failing or missing disk, or if the caller does not have permission to read the file. The Exists method should not be used for path validation, this method merely checks if the file specified in path exists. Passing an invalid path to Exists returns false. Be aware that another process can potentially do something with the file in between the time you call the Exists method and perform another operation on the file, such as Delete. Specifies that is a file or directory. The transaction. The file to check. Indicates the format of the path parameter(s). Returns if the caller has the required permissions and contains the name of an existing file or directory; otherwise, Gets a object that encapsulates the access control list (ACL) entries for a specified file. A object that encapsulates the access control rules for the file described by the parameter. The path to a file containing a object that describes the file's access control list (ACL) information. Gets a object that encapsulates the access control list (ACL) entries for a specified file. A object that encapsulates the access control rules for the file described by the parameter. The path to a file containing a object that describes the file's access control list (ACL) information. One (or more) of the values that specifies the type of access control list (ACL) information to receive. [AlphaFS] Gets a object that encapsulates the access control list (ACL) entries for a specified file. A object that encapsulates the access control rules for the file described by the parameter. The path to a file containing a object that describes the file's access control list (ACL) information. Indicates the format of the path parameter(s). [AlphaFS] Gets a object that encapsulates the access control list (ACL) entries for a specified file. A object that encapsulates the access control rules for the file described by the parameter. The path to a file containing a object that describes the file's access control list (ACL) information. One (or more) of the values that specifies the type of access control list (ACL) information to receive. Indicates the format of the path parameter(s). [AlphaFS] Gets a object that encapsulates the access control list (ACL) entries for a specified file handle. A object that encapsulates the access control rules for the file described by the parameter. A to a file containing a object that describes the file's access control list (ACL) information. [AlphaFS] Gets a object that encapsulates the access control list (ACL) entries for a specified file handle. A object that encapsulates the access control rules for the file described by the parameter. A to a file containing a object that describes the file's access control list (ACL) information. One (or more) of the values that specifies the type of access control list (ACL) information to receive. [AlphaFS] Gets an object for a particular file or directory. An object that encapsulates the access control rules for the file or directory described by the parameter. Generic type parameter. Specifies that is a file or directory. The path to a file/directory containing a / object that describes the file's/directory's access control list (ACL) information. One (or more) of the values that specifies the type of access control list (ACL) information to receive. Indicates the format of the path parameter(s). Gets the of the file on the path. The path to the file. The of the file on the path. [AlphaFS] Gets the of the file on the path. The path to the file. Indicates the format of the path parameter(s). The of the file on the path. [AlphaFS] Gets the of the file on the path. The transaction. The path to the file. The of the file on the path. [AlphaFS] Gets the of the file on the path. The transaction. The path to the file. Indicates the format of the path parameter(s). The of the file on the path. Gets the or of the specified file or directory. The or of the specified file or directory. Generic type parameter. The transaction. The path to the file or directory. Indicates the format of the path parameter(s). Calls NativeMethods.GetFileAttributesEx to retrieve WIN32_FILE_ATTRIBUTE_DATA. Note that classes should use -1 as the uninitialized state for dataInitialized when relying on this method. No path (null, empty string) checking or normalization is performed. . . [in,out]. . . 0 on success, otherwise a Win32 error code. Gets the creation date and time of the specified file. The file for which to obtain creation date and time information. A structure set to the creation date and time for the specified file. This value is expressed in local time. [AlphaFS] Gets the creation date and time of the specified file. The file for which to obtain creation date and time information. Indicates the format of the path parameter(s). A structure set to the creation date and time for the specified file. This value is expressed in local time. [AlphaFS] Gets the creation date and time of the specified file. The transaction. The file for which to obtain creation date and time information. A structure set to the creation date and time for the specified file. This value is expressed in local time. [AlphaFS] Gets the creation date and time of the specified file. The transaction. The file for which to obtain creation date and time information. Indicates the format of the path parameter(s). A structure set to the creation date and time for the specified file. This value is expressed in local time. Gets the creation date and time, in Coordinated Universal Time (UTC) format, of the specified file. The file for which to obtain creation date and time information, in Coordinated Universal Time (UTC) format. A structure set to the creation date and time for the specified file. This value is expressed in UTC time. [AlphaFS] Gets the creation date and time, in Coordinated Universal Time (UTC) format, of the specified file. The file for which to obtain creation date and time information, in Coordinated Universal Time (UTC) format. Indicates the format of the path parameter(s). A structure set to the creation date and time for the specified file. This value is expressed in UTC time. [AlphaFS] Gets the creation date and time, in Coordinated Universal Time (UTC) format, of the specified file. The transaction. The file for which to obtain creation date and time information, in Coordinated Universal Time (UTC) format. A structure set to the creation date and time for the specified file. This value is expressed in UTC time. [AlphaFS] Gets the creation date and time, in Coordinated Universal Time (UTC) format, of the specified file. The transaction. The file for which to obtain creation date and time information, in Coordinated Universal Time (UTC) format. Indicates the format of the path parameter(s). A structure set to the creation date and time for the specified file. This value is expressed in UTC time. [AlphaFS] Gets the creation date and time, in Coordinated Universal Time (UTC) or local time, of the specified file or directory. The transaction. The file or directory for which to obtain creation date and time information. gets the Coordinated Universal Time (UTC), gets the local time. Indicates the format of the path parameter(s). A structure set to the creation date and time for the specified file or directory. Depending on this value is expressed in UTC- or local time. Gets the date and time that the specified file was last accessed. The file for which to obtain access date and time information. A structure set to the date and time that the specified file was last accessed. This value is expressed in local time. [AlphaFS] Gets the date and time that the specified file was last accessed. The file for which to obtain access date and time information. Indicates the format of the path parameter(s). A structure set to the date and time that the specified file was last accessed. This value is expressed in local time. [AlphaFS] Gets the date and time that the specified file was last accessed. The transaction. The file for which to obtain access date and time information. A structure set to the date and time that the specified file was last accessed. This value is expressed in local time. [AlphaFS] Gets the date and time that the specified file was last accessed. The transaction. The file for which to obtain access date and time information. Indicates the format of the path parameter(s). A structure set to the date and time that the specified file was last accessed. This value is expressed in local time. Gets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. The file for which to obtain access date and time information. A structure set to the date and time that the specified file was last accessed. This value is expressed in UTC time. [AlphaFS] Gets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. The file for which to obtain access date and time information. Indicates the format of the path parameter(s). A structure set to the date and time that the specified file was last accessed. This value is expressed in UTC time. [AlphaFS] Gets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. The transaction. The file for which to obtain access date and time information. A structure set to the date and time that the specified file was last accessed. This value is expressed in UTC time. [AlphaFS] Gets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. The transaction. The file for which to obtain access date and time information. Indicates the format of the path parameter(s). A structure set to the date and time that the specified file was last accessed. This value is expressed in UTC time. [AlphaFS] Gets the date and time, in coordinated universal time (UTC) or local time, that the specified file or directory was last accessed. The transaction. The file or directory for which to obtain access date and time information. gets the Coordinated Universal Time (UTC), gets the local time. Indicates the format of the path parameter(s). A structure set to the date and time that the specified file or directory was last accessed. Depending on this value is expressed in UTC- or local time. Gets the date and time that the specified file was last written to. The file for which to obtain write date and time information. A structure set to the date and time that the specified file was last written to. This value is expressed in local time. [AlphaFS] Gets the date and time that the specified file was last written to. The file for which to obtain write date and time information. Indicates the format of the path parameter(s). A structure set to the date and time that the specified file was last written to. This value is expressed in local time. [AlphaFS] Gets the date and time that the specified file was last written to. The transaction. The file for which to obtain write date and time information. A structure set to the date and time that the specified file was last written to. This value is expressed in local time. [AlphaFS] Gets the date and time that the specified file was last written to. The transaction. The file for which to obtain write date and time information. Indicates the format of the path parameter(s). A structure set to the date and time that the specified file was last written to. This value is expressed in local time. Gets the date and time, in coordinated universal time (UTC) time, that the specified file was last written to. The file for which to obtain write date and time information. A structure set to the date and time that the specified file was last written to. This value is expressed in UTC time. [AlphaFS] Gets the date and time, in coordinated universal time (UTC) time, that the specified file was last written to. The file for which to obtain write date and time information. Indicates the format of the path parameter(s). A structure set to the date and time that the specified file was last written to. This value is expressed in UTC time. [AlphaFS] Gets the date and time, in coordinated universal time (UTC) time, that the specified file was last written to. The transaction. The file for which to obtain write date and time information. A structure set to the date and time that the specified file was last written to. This value is expressed in UTC time. [AlphaFS] Gets the date and time, in coordinated universal time (UTC) time, that the specified file was last written to. The transaction. The file for which to obtain write date and time information. Indicates the format of the path parameter(s). A structure set to the date and time that the specified file was last written to. This value is expressed in UTC time. [AlphaFS] Gets the date and time, in coordinated universal time (UTC) or local time, that the specified file or directory was last written to. The transaction. The file or directory for which to obtain write date and time information. gets the Coordinated Universal Time (UTC), gets the local time. Indicates the format of the path parameter(s). A structure set to the date and time that the specified file or directory was last written to. Depending on this value is expressed in UTC- or local time. Opens a on the specified path with read/write access. The file to open. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. A opened in the specified mode and path, with read/write access and not shared. Opens a on the specified path, with the specified mode and access. The file to open. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. A value that specifies the operations that can be performed on the file. An unshared that provides access to the specified file, with the specified mode and access. Opens a on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. The file to open. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. A value that specifies the operations that can be performed on the file. A value specifying the type of access other threads have to the file. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path with read/write access. The file to open. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. Indicates the format of the path parameter(s). A opened in the specified mode and path, with read/write access and not shared. [AlphaFS] Opens a on the specified path, with the specified mode and access. The file to open. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. A value that specifies the operations that can be performed on the file. Indicates the format of the path parameter(s). An unshared that provides access to the specified file, with the specified mode and access. [AlphaFS] Opens a on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. The file to open. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. A value that specifies the operations that can be performed on the file. A value specifying the type of access other threads have to the file. Indicates the format of the path parameter(s). A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. The file to open. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. A value that specifies the operations that can be performed on the file. A value specifying the type of access other threads have to the file. The extended attributes. Indicates the format of the path parameter(s). A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. Specifies whether to use asynchronous I/O or synchronous I/O. However, note that the underlying operating system might not support asynchronous I/O, so when specifying true, the handle might be opened synchronously depending on the platform. When opened asynchronously, the BeginRead and BeginWrite methods perform better on large reads or writes, but they might be much slower for small reads or writes. If the application is designed to take advantage of asynchronous I/O, set the useAsync parameter to true. Using asynchronous I/O correctly can speed up applications by as much as a factor of 10, but using it without redesigning the application for asynchronous I/O can decrease performance by as much as a factor of 10. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. A value that specifies additional file options. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. The extended attributes specifying additional options. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. Indicates the format of the path parameter. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. Specifies whether to use asynchronous I/O or synchronous I/O. However, note that the underlying operating system might not support asynchronous I/O, so when specifying true, the handle might be opened synchronously depending on the platform. When opened asynchronously, the BeginRead and BeginWrite methods perform better on large reads or writes, but they might be much slower for small reads or writes. If the application is designed to take advantage of asynchronous I/O, set the useAsync parameter to true. Using asynchronous I/O correctly can speed up applications by as much as a factor of 10, but using it without redesigning the application for asynchronous I/O can decrease performance by as much as a factor of 10. Indicates the format of the path parameter. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. A value that specifies additional file options. Indicates the format of the path parameter. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. The extended attributes specifying additional options. Indicates the format of the path parameter. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. A value that specifies additional file options. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. Extended attributes specifying additional options. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. A value that specifies additional file options. A value that determines the access control and audit security for the file. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. Extended attributes specifying additional options. A value that determines the access control and audit security for the file. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. A value that specifies additional file options. Indicates the format of the path parameter. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. Extended attributes specifying additional options. Indicates the format of the path parameter. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path using the specified creation mode, access rights and sharing permission, the buffer size, additional file options, access control and audit security. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. A value that specifies additional file options. A value that determines the access control and audit security for the file. Indicates the format of the path parameter. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path using the specified creation mode, access rights and sharing permission, the buffer size, additional file options, access control and audit security. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. Extended attributes specifying additional options. A value that determines the access control and audit security for the file. Indicates the format of the path parameter. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path with read/write access. The transaction. The file to open. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. A opened in the specified mode and path, with read/write access and not shared. [AlphaFS] (Transacted) Opens a on the specified path with read/write access. The transaction. The file to open. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. Indicates the format of the path parameter(s). A opened in the specified mode and path, with read/write access and not shared. [AlphaFS] (Transacted) Opens a on the specified path, with the specified mode and access. The transaction. The file to open. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. A value that specifies the operations that can be performed on the file. An unshared that provides access to the specified file, with the specified mode and access. [AlphaFS] (Transacted) Opens a on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. The transaction. The file to open. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. A value that specifies the operations that can be performed on the file. A value specifying the type of access other threads have to the file. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path, with the specified mode and access. The transaction. The file to open. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. A value that specifies the operations that can be performed on the file. Indicates the format of the path parameter(s). An unshared that provides access to the specified file, with the specified mode and access. [AlphaFS] (Transacted) Opens a on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. The transaction. The file to open. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. A value that specifies the operations that can be performed on the file. A value specifying the type of access other threads have to the file. Indicates the format of the path parameter(s). A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. The transaction. The file to open. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. A value that specifies the operations that can be performed on the file. A value specifying the type of access other threads have to the file. The extended attributes. Indicates the format of the path parameter(s). A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The transaction. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The transaction. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. Specifies whether to use asynchronous I/O or synchronous I/O. However, note that the underlying operating system might not support asynchronous I/O, so when specifying true, the handle might be opened synchronously depending on the platform. When opened asynchronously, the BeginRead and BeginWrite methods perform better on large reads or writes, but they might be much slower for small reads or writes. If the application is designed to take advantage of asynchronous I/O, set the useAsync parameter to true. Using asynchronous I/O correctly can speed up applications by as much as a factor of 10, but using it without redesigning the application for asynchronous I/O can decrease performance by as much as a factor of 10. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The transaction. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. A value that specifies additional file options. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The transaction. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. The extended attributes specifying additional options. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The transaction. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. Indicates the format of the path parameter. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The transaction. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. Specifies whether to use asynchronous I/O or synchronous I/O. However, note that the underlying operating system might not support asynchronous I/O, so when specifying true, the handle might be opened synchronously depending on the platform. When opened asynchronously, the BeginRead and BeginWrite methods perform better on large reads or writes, but they might be much slower for small reads or writes. If the application is designed to take advantage of asynchronous I/O, set the useAsync parameter to true. Using asynchronous I/O correctly can speed up applications by as much as a factor of 10, but using it without redesigning the application for asynchronous I/O can decrease performance by as much as a factor of 10. Indicates the format of the path parameter. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The transaction. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. A value that specifies additional file options. Indicates the format of the path parameter. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The transaction. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. The extended attributes specifying additional options. Indicates the format of the path parameter. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The transaction. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. A value that specifies additional file options. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The transaction. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. Extended attributes specifying additional options. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The transaction. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. A value that specifies additional file options. A value that determines the access control and audit security for the file. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The transaction. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. Extended attributes specifying additional options. A value that determines the access control and audit security for the file. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The transaction. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. A value that specifies additional file options. Indicates the format of the path parameter. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path using the specified creation mode, read/write and sharing permission, and buffer size. The transaction. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. Extended attributes specifying additional options. Indicates the format of the path parameter. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path using the specified creation mode, access rights and sharing permission, the buffer size, additional file options, access control and audit security. The transaction. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. A value that specifies additional file options. A value that determines the access control and audit security for the file. Indicates the format of the path parameter. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] (Transacted) Opens a on the specified path using the specified creation mode, access rights and sharing permission, the buffer size, additional file options, access control and audit security. The transaction. The file to open. A constant that determines how to open or create the file. A value that specifies the operations that can be performed on the file. A constant that determines how the file will be shared by processes. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. Extended attributes specifying additional options. A value that determines the access control and audit security for the file. Indicates the format of the path parameter. A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. [AlphaFS] Opens a on the specified path, having the specified mode with read, write, or read/write access, the specified sharing option and additional options specified. The transaction. The file to open. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. A value that specifies the operations that can be performed on the file. A value specifying the type of access other threads have to the file. Advanced options for this file. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. The security. Indicates the format of the path parameter(s). A instance on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. Opens a on the specified path, having the specified mode with read, write, or read/write access, the specified sharing option and additional options specified. The transaction. The file to open. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten along with additional options. A value specifying the type of access other threads have to the file. Advanced options for this file. A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. The security. Indicates the format of the path parameter(s). A instance on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. Opens a binary file, reads the contents of the file into a byte array, and then closes the file. The file to open for reading. A byte array containing the contents of the file. [AlphaFS] Opens a binary file, reads the contents of the file into a byte array, and then closes the file. The file to open for reading. Indicates the format of the path parameter(s). A byte array containing the contents of the file. [AlphaFS] Opens a binary file, reads the contents of the file into a byte array, and then closes the file. The transaction. The file to open for reading. A byte array containing the contents of the file. [AlphaFS] Opens a binary file, reads the contents of the file into a byte array, and then closes the file. The transaction. The file to open for reading. Indicates the format of the path parameter(s). A byte array containing the contents of the file. Opens a binary file, reads the contents of the file into a byte array, and then closes the file. The transaction. The file to open for reading. Indicates the format of the path parameter(s). A byte array containing the contents of the file. Opens a text file, reads all lines of the file, and then closes the file. The file to open for reading. All lines of the file. Opens a file, reads all lines of the file with the specified encoding, and then closes the file. The file to open for reading. The applied to the contents of the file. All lines of the file. [AlphaFS] Opens a text file, reads all lines of the file, and then closes the file. The file to open for reading. Indicates the format of the path parameter(s). All lines of the file. [AlphaFS] Opens a file, reads all lines of the file with the specified encoding, and then closes the file. The file to open for reading. The applied to the contents of the file. Indicates the format of the path parameter(s). All lines of the file. [AlphaFS] Opens a text file, reads all lines of the file, and then closes the file. The transaction. The file to open for reading. All lines of the file. [AlphaFS] Opens a file, reads all lines of the file with the specified encoding, and then closes the file. The transaction. The file to open for reading. The applied to the contents of the file. All lines of the file. [AlphaFS] Opens a text file, reads all lines of the file, and then closes the file. The transaction. The file to open for reading. Indicates the format of the path parameter(s). All lines of the file. [AlphaFS] Opens a file, reads all lines of the file with the specified encoding, and then closes the file. The transaction. The file to open for reading. The applied to the contents of the file. Indicates the format of the path parameter(s). All lines of the file. Opens a file, read all lines of the file with the specified encoding, and then close the file. The transaction. The file to open for reading. The applied to the contents of the file. Indicates the format of the path parameter(s). An IEnumerable string containing all lines of the file. Opens a text file, reads all lines of the file, and then closes the file. The file to open for reading. All lines of the file. Opens a file, reads all lines of the file with the specified encoding, and then closes the file. The file to open for reading. The applied to the contents of the file. All lines of the file. [AlphaFS] Opens a text file, reads all lines of the file, and then closes the file. The file to open for reading. Indicates the format of the path parameter(s). All lines of the file. [AlphaFS] Opens a file, reads all lines of the file with the specified encoding, and then closes the file. The file to open for reading. The applied to the contents of the file. Indicates the format of the path parameter(s). All lines of the file. [AlphaFS] Opens a text file, reads all lines of the file, and then closes the file. The transaction. The file to open for reading. All lines of the file. [AlphaFS] Opens a file, reads all lines of the file with the specified encoding, and then closes the file. The transaction. The file to open for reading. The applied to the contents of the file. All lines of the file. [AlphaFS] Opens a text file, reads all lines of the file, and then closes the file. The transaction. The file to open for reading. Indicates the format of the path parameter(s). All lines of the file. [AlphaFS] Opens a file, reads all lines of the file with the specified encoding, and then closes the file. The transaction. The file to open for reading. The applied to the contents of the file. Indicates the format of the path parameter(s). All lines of the file. Open a file, read all lines of the file with the specified encoding, and then close the file. The transaction. The file to open for reading. The applied to the contents of the file. Indicates the format of the path parameter(s). All lines of the file. Reads the lines of a file. The file to read. All the lines of the file, or the lines that are the result of a query. Read the lines of a file that has a specified encoding. The file to read. The encoding that is applied to the contents of the file. All the lines of the file, or the lines that are the result of a query. [AlphaFS] Reads the lines of a file. The file to read. Indicates the format of the path parameter(s). All the lines of the file, or the lines that are the result of a query. [AlphaFS] Read the lines of a file that has a specified encoding. The file to read. The encoding that is applied to the contents of the file. Indicates the format of the path parameter(s). All the lines of the file, or the lines that are the result of a query. [AlphaFS] Reads the lines of a file. The transaction. The file to read. All the lines of the file, or the lines that are the result of a query. [AlphaFS] Read the lines of a file that has a specified encoding. The transaction. The file to read. The encoding that is applied to the contents of the file. All the lines of the file, or the lines that are the result of a query. [AlphaFS] Reads the lines of a file. The transaction. The file to read. Indicates the format of the path parameter(s). All the lines of the file, or the lines that are the result of a query. [AlphaFS] Read the lines of a file that has a specified encoding. The transaction. The file to read. The encoding that is applied to the contents of the file. Indicates the format of the path parameter(s). All the lines of the file, or the lines that are the result of a query. Reads the lines of a file that has a specified encoding. The transaction. The file to read. The encoding that is applied to the contents of the file. Indicates the format of the path parameter(s). All the lines of the file, or the lines that are the result of a query. Replaces the contents of a specified file with the contents of another file, deleting the original file, and creating a backup of the replaced file. The Replace method replaces the contents of a specified file with the contents of another file. It also creates a backup of the file that was replaced. If the and are on different volumes, this method will raise an exception. If the is on a different volume from the source file, the backup file will be deleted. Pass null to the parameter if you do not want to create a backup of the file being replaced. The name of a file that replaces the file specified by . The name of the file being replaced. The name of the backup file. Replaces the contents of a specified file with the contents of another file, deleting the original file, and creating a backup of the replaced file and optionally ignores merge errors. The Replace method replaces the contents of a specified file with the contents of another file. It also creates a backup of the file that was replaced. If the and are on different volumes, this method will raise an exception. If the is on a different volume from the source file, the backup file will be deleted. Pass null to the parameter if you do not want to create a backup of the file being replaced. The name of a file that replaces the file specified by . The name of the file being replaced. The name of the backup file. to ignore merge errors (such as attributes and access control lists (ACLs)) from the replaced file to the replacement file; otherwise, . [AlphaFS] Replaces the contents of a specified file with the contents of another file, deleting the original file, and creating a backup of the replaced file and optionally ignores merge errors. The Replace method replaces the contents of a specified file with the contents of another file. It also creates a backup of the file that was replaced. If the and are on different volumes, this method will raise an exception. If the is on a different volume from the source file, the backup file will be deleted. Pass null to the parameter if you do not want to create a backup of the file being replaced. The name of a file that replaces the file specified by . The name of the file being replaced. The name of the backup file. to ignore merge errors (such as attributes and access control lists (ACLs)) from the replaced file to the replacement file; otherwise, . Indicates the format of the path parameter(s). Replaces the contents of a specified file with the contents of another file, deleting the original file, and creating a backup of the replaced file and optionally ignores merge errors. The Replace method replaces the contents of a specified file with the contents of another file. It also creates a backup of the file that was replaced. If the and are on different volumes, this method will raise an exception. If the is on a different volume from the source file, the backup file will be deleted. Pass null to the parameter if you do not want to create a backup of the file being replaced. The name of a file that replaces the file specified by . The name of the file being replaced. The name of the backup file. to ignore merge errors (such as attributes and access control lists (ACLs)) from the replaced file to the replacement file; otherwise, . Indicates the format of the path parameter(s). Applies access control list (ACL) entries described by a FileSecurity object to the specified file. A file to add or remove access control list (ACL) entries from. A object that describes an ACL entry to apply to the file described by the parameter. Applies access control list (ACL) entries described by a object to the specified directory. A directory to add or remove access control list (ACL) entries from. A object that describes an ACL entry to apply to the directory described by the path parameter. One or more of the values that specifies the type of access control list (ACL) information to set. [AlphaFS] Applies access control list (ACL) entries described by a FileSecurity object to the specified file. A file to add or remove access control list (ACL) entries from. A object that describes an ACL entry to apply to the file described by the parameter. Indicates the format of the path parameter(s). [AlphaFS] Applies access control list (ACL) entries described by a object to the specified directory. A directory to add or remove access control list (ACL) entries from. A object that describes an ACL entry to apply to the directory described by the path parameter. One or more of the values that specifies the type of access control list (ACL) information to set. Indicates the format of the path parameter(s). Applies access control list (ACL) entries described by a FileSecurity object to the specified file. A to a file to add or remove access control list (ACL) entries from. A object that describes an ACL entry to apply to the file described by the parameter. Applies access control list (ACL) entries described by a FileSecurity object to the specified file. A to a file to add or remove access control list (ACL) entries from. A object that describes an ACL entry to apply to the file described by the parameter. One or more of the values that specifies the type of access control list (ACL) information to set. [AlphaFS] Applies access control list (ACL) entries described by a / object to the specified file or directory. Use either or , not both. A file/directory to add or remove access control list (ACL) entries from. This parameter This parameter may be . A to add or remove access control list (ACL) entries from. This parameter This parameter may be . A / object that describes an ACL entry to apply to the file/directory described by the / parameter. One or more of the values that specifies the type of access control list (ACL) information to set. Indicates the format of the path parameter(s). Sets the specified of the file or directory on the specified path. Certain file attributes, such as and , can be combined. Other attributes, such as , must be used alone. It is not possible to change the status of a File object using this method. The path to the file or directory. A bitwise combination of the enumeration values. Sets the specified of the file or directory on the specified path. [AlphaFS] Sets the specified of the file or directory on the specified path. Certain file attributes, such as and , can be combined. Other attributes, such as , must be used alone. It is not possible to change the status of a File object using this method. The path to the file or directory. A bitwise combination of the enumeration values. Indicates the format of the path parameter(s). [AlphaFS] Sets the specified of the file on the specified path. Certain file attributes, such as and , can be combined. Other attributes, such as , must be used alone. It is not possible to change the status of a File object using this method. The transaction. The path to the file. A bitwise combination of the enumeration values. [AlphaFS] Sets the specified of the file on the specified path. Certain file attributes, such as and , can be combined. Other attributes, such as , must be used alone. It is not possible to change the status of a File object using this method. The transaction. The path to the file. A bitwise combination of the enumeration values. Indicates the format of the path parameter(s). Sets the attributes for a Non-/Transacted file/directory. Certain file attributes, such as and , can be combined. Other attributes, such as , must be used alone. It is not possible to change the status of a File object using the SetAttributes method. Specifies that is a file or directory. The transaction. The name of the file or directory whose attributes are to be set. The attributes to set for the file or directory. Note that all other values override . does not throw an Exception when the file system object does not exist. Indicates the format of the path parameter(s). Sets the date and time the file was created. The file for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in local time. [AlphaFS] Sets the date and time the file was created. The file for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in local time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time the file was created. The file for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in local time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time the file was created. The transaction. The file for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in local time. [AlphaFS] Sets the date and time the file was created. The transaction. The file for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in local time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time the file was created. The transaction. The file for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in local time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). Sets the date and time, in coordinated universal time (UTC), that the file was created. The file for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the file was created. The file for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the file was created. The file for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the file was created. The transaction. The file for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the file was created. The transaction. The file for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the file was created. The transaction. The file for which to set the creation date and time information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). Sets the date and time that the specified file was last accessed. The file for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in local time. [AlphaFS] Sets the date and time that the specified file was last accessed. The file for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in local time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time that the specified file was last accessed. The file for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in local time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time that the specified file was last accessed. The transaction. The file for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in local time. [AlphaFS] Sets the date and time that the specified file was last accessed. The transaction. The file for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in local time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time that the specified file was last accessed. The transaction. The file for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in local time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). Sets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. The file for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in UTC time. [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. The file for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in UTC time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. The file for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. The transaction. The file for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in UTC time. [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. The transaction. The file for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in UTC time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. The transaction. The file for which to set the access date and time information. A containing the value to set for the last access date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). Sets the date and time that the specified file was last written to. The file for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in local time. [AlphaFS] Sets the date and time that the specified file was last written to. The file for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in local time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time that the specified file was last written to. The file for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in local time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time that the specified file was last written to. The transaction. The file for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in local time. [AlphaFS] Sets the date and time that the specified file was last written to. The transaction. The file for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in local time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time that the specified file was last written to. The transaction. The file for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in local time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). Sets the date and time, in coordinated universal time (UTC), that the specified file was last written to. The file for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in UTC time. [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified file was last written to. The file for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in UTC time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified file was last written to. The file for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified file was last written to. The transaction. The file for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in UTC time. [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified file was last written to. The transaction. The file for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in UTC time. Indicates the format of the path parameter(s). [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified file was last written to. The transaction. The file for which to set the date and time information. A containing the value to set for the last write date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets all the date and time stamps for the specified file, at once. The file for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in local time. A containing the value to set for the last access date and time of . This value is expressed in local time. A containing the value to set for the last write date and time of . This value is expressed in local time. Indicates the format of the path parameter(s). [AlphaFS] Sets all the date and time stamps for the specified file, at once. The file for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in local time. A containing the value to set for the last access date and time of . This value is expressed in local time. A containing the value to set for the last write date and time of . This value is expressed in local time. [AlphaFS] Sets all the date and time stamps for the specified file, at once. The file for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in local time. A containing the value to set for the last access date and time of . This value is expressed in local time. A containing the value to set for the last write date and time of . This value is expressed in local time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets all the date and time stamps for the specified file, at once. The transaction. The file for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in local time. A containing the value to set for the last access date and time of . This value is expressed in local time. A containing the value to set for the last write date and time of . This value is expressed in local time. Indicates the format of the path parameter(s). [AlphaFS] Sets all the date and time stamps for the specified file, at once. The transaction. The file for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in local time. A containing the value to set for the last access date and time of . This value is expressed in local time. A containing the value to set for the last write date and time of . This value is expressed in local time. [AlphaFS] Sets all the date and time stamps for the specified file, at once. The transaction. The file for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in local time. A containing the value to set for the last access date and time of . This value is expressed in local time. A containing the value to set for the last write date and time of . This value is expressed in local time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets all the date and time stamps, in coordinated universal time (UTC), for the specified file, at once. The file for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. A containing the value to set for the last access date and time of . This value is expressed in UTC time. A containing the value to set for the last write date and time of . This value is expressed in UTC time. Indicates the format of the path parameter(s). [AlphaFS] Sets all the date and time stamps, in coordinated universal time (UTC), for the specified file, at once. The file for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. A containing the value to set for the last access date and time of . This value is expressed in UTC time. A containing the value to set for the last write date and time of . This value is expressed in UTC time. [AlphaFS] Sets all the date and time stamps, in coordinated universal time (UTC), for the specified file, at once. The file for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. A containing the value to set for the last access date and time of . This value is expressed in UTC time. A containing the value to set for the last write date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). [AlphaFS] Sets all the date and time stamps, in coordinated universal time (UTC), for the specified file, at once. The transaction. The file for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. A containing the value to set for the last access date and time of . This value is expressed in UTC time. A containing the value to set for the last write date and time of . This value is expressed in UTC time. Indicates the format of the path parameter(s). [AlphaFS] Sets all the date and time stamps, in coordinated universal time (UTC), for the specified file, at once. The transaction. The file for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. A containing the value to set for the last access date and time of . This value is expressed in UTC time. A containing the value to set for the last write date and time of . This value is expressed in UTC time. [AlphaFS] Sets all the date and time stamps, in coordinated universal time (UTC), for the specified file, at once. The transaction. The file for which to set the dates and times information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. A containing the value to set for the last access date and time of . This value is expressed in UTC time. A containing the value to set for the last write date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). Set the date and time, in coordinated universal time (UTC), that the file or directory was created and/or last accessed and/or written to. Specifies that is a file or directory. The transaction. The file or directory for which to set the date and time information. A containing the value to set for the creation date and time of . This value is expressed in UTC time. A containing the value to set for the last access date and time of . This value is expressed in UTC time. A containing the value to set for the last write date and time of . This value is expressed in UTC time. If , the date and time information will apply to the reparse point (symlink or junction) and not the file or directory linked to. No effect if does not refer to a reparse point. Indicates the format of the path parameter(s). Creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is overwritten. The file to write to. The bytes to write to the file. [AlphaFS] Creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is overwritten. The file to write to. The bytes to write to the file. Indicates the format of the path parameter(s). [AlphaFS] Creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is overwritten. The transaction. The file to write to. The bytes to write to the file. [AlphaFS] Creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is overwritten. The transaction. The file to write to. The bytes to write to the file. Indicates the format of the path parameter(s). Creates a new file as part of a transaction, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is overwritten. The transaction. The file to write to. The bytes to write to the file. Indicates the format of the path parameter(s). [AlphaFS] Gets the change date and time of the specified file. A structure set to the change date and time for the specified file. This value is expressed in local time. The file for which to obtain creation date and time information. Indicates the format of the path parameter(s). [AlphaFS] Gets the change date and time of the specified file. A structure set to the change date and time for the specified file. This value is expressed in local time. The file for which to obtain creation date and time information. [AlphaFS] Gets the change date and time of the specified file. A structure set to the change date and time for the specified file. This value is expressed in local time. An open handle to the file or directory from which to retrieve information. [AlphaFS] Gets the change date and time of the specified file. A structure set to the change date and time for the specified file. This value is expressed in local time. The transaction. The file for which to obtain creation date and time information. Indicates the format of the path parameter(s). [AlphaFS] Gets the change date and time of the specified file. A structure set to the change date and time for the specified file. This value is expressed in local time. The transaction. The file for which to obtain creation date and time information. [AlphaFS] Gets the change date and time, in Coordinated Universal Time (UTC) format, of the specified file. A structure set to the change date and time for the specified file. This value is expressed in UTC time. The file for which to obtain change date and time information, in Coordinated Universal Time (UTC) format. Indicates the format of the path parameter(s). [AlphaFS] Gets the change date and time, in Coordinated Universal Time (UTC) format, of the specified file. A structure set to the change date and time for the specified file. This value is expressed in UTC time. The file for which to obtain change date and time information, in Coordinated Universal Time (UTC) format. [AlphaFS] Gets the change date and time, in Coordinated Universal Time (UTC) format, of the specified file. A structure set to the change date and time for the specified file. This value is expressed in UTC time. An open handle to the file or directory from which to retrieve information. [AlphaFS] Gets the change date and time, in Coordinated Universal Time (UTC) format, of the specified file. A structure set to the change date and time for the specified file. This value is expressed in UTC time. The transaction. The file for which to obtain change date and time information, in Coordinated Universal Time (UTC) format. Indicates the format of the path parameter(s). [AlphaFS] Gets the change date and time, in Coordinated Universal Time (UTC) format, of the specified file. A structure set to the change date and time for the specified file. This value is expressed in UTC time. The transaction. The file for which to obtain change date and time information, in Coordinated Universal Time (UTC) format. Gets the change date and time of the specified file. A structure set to the change date and time for the specified file. This value is expressed in local time. Use either or , not both. Specifies that is a file or directory. The transaction. An open handle to the file or directory from which to retrieve information. The file or directory for which to obtain creation date and time information. gets the Coordinated Universal Time (UTC), gets the local time. Indicates the format of the path parameter(s). [AlphaFS] Retrieves the actual number of bytes of disk storage used to store a specified file. If the file is located on a volume that supports compression and the file is compressed, the value obtained is the compressed size of the specified file. If the file is located on a volume that supports sparse files and the file is a sparse file, the value obtained is the sparse size of the specified file. The name of the file. Indicates the format of the path parameter(s). The actual number of bytes of disk storage used to store the specified file. [AlphaFS] Retrieves the actual number of bytes of disk storage used to store a specified file. If the file is located on a volume that supports compression and the file is compressed, the value obtained is the compressed size of the specified file. If the file is located on a volume that supports sparse files and the file is a sparse file, the value obtained is the sparse size of the specified file. The name of the file. The actual number of bytes of disk storage used to store the specified file. [AlphaFS] Retrieves the actual number of bytes of disk storage used to store a specified file as part of a transaction. If the file is located on a volume that supports compression and the file is compressed, the value obtained is the compressed size of the specified file. If the file is located on a volume that supports sparse files and the file is a sparse file, the value obtained is the sparse size of the specified file. The transaction. The name of the file. Indicates the format of the path parameter(s). The actual number of bytes of disk storage used to store the specified file. [AlphaFS] Retrieves the actual number of bytes of disk storage used to store a specified file as part of a transaction. If the file is located on a volume that supports compression and the file is compressed, the value obtained is the compressed size of the specified file. If the file is located on a volume that supports sparse files and the file is a sparse file, the value obtained is the sparse size of the specified file. The transaction. The name of the file. The actual number of bytes of disk storage used to store the specified file. Retrieves the actual number of bytes of disk storage used to store a specified file as part of a transaction. If the file is located on a volume that supports compression and the file is compressed, the value obtained is the compressed size of the specified file. If the file is located on a volume that supports sparse files and the file is a sparse file, the value obtained is the sparse size of the specified file. The transaction. The name of the file. Indicates the format of the path parameter(s). The actual number of bytes of disk storage used to store the specified file. [AlphaFS] Retrieves the encryption status of the specified file. The name of the file. Indicates the format of the path parameter(s). The of the specified . [AlphaFS] Retrieves the encryption status of the specified file. The name of the file. The of the specified . Retrieves the encryption status of the specified file. The name of the file. Indicates the format of the path parameter(s). The of the specified . [AlphaFS] Retrieves file information for the specified . A connected to the open file from which to retrieve the information. A object containing the requested information. [AlphaFS] Gets the of the file on the path. The instance of the file or directory. The path to the file or directory. Indicates the format of the path parameter(s). [AlphaFS] Gets the of the file on the path. The instance of the file or directory. The path to the file or directory. [AlphaFS] Gets the of the file on the path. The instance of the file or directory. The transaction. The path to the file or directory. Indicates the format of the path parameter(s). [AlphaFS] Gets the of the file on the path. The instance of the file or directory. The transaction. The path to the file or directory. Gets a FileSystemEntryInfo from a Non-/Transacted directory/file. The instance of the file or directory, or null on Exception when is true. BasicSearch and LargeCache are used by default, if possible. Specifies that is a file or directory. The transaction. The path to the file or directory. true suppress any Exception that might be thrown as a result from a failure, such as ACLs protected directories or non-accessible reparse points. Indicates the format of the path parameter(s). [AlphaFS] Gets information about the target of a mount point or symbolic link on an NTFS file system. The path to the reparse point. Indicates the format of the path parameter(s). An instance of or containing information about the symbolic link or mount point pointed to by . [AlphaFS] Gets information about the target of a mount point or symbolic link on an NTFS file system. The path to the reparse point. An instance of or containing information about the symbolic link or mount point pointed to by . [AlphaFS] Gets information about the target of a mount point or symbolic link on an NTFS file system. The transaction. The path to the reparse point. Indicates the format of the path parameter(s). An instance of or containing information about the symbolic link or mount point pointed to by . [AlphaFS] Gets information about the target of a mount point or symbolic link on an NTFS file system. The transaction. The path to the reparse point. An instance of or containing information about the symbolic link or mount point pointed to by . Gets information about the target of a mount point or symbolic link on an NTFS file system. The transaction. The path to the reparse point. Indicates the format of the path parameter(s). An instance of or containing information about the symbolic link or mount point pointed to by . [AlphaFS] Retrieves the file size, in bytes to store a specified file. The path to the file. Indicates the format of the path parameter(s). The file size, in bytes. [AlphaFS] Retrieves the file size, in bytes to store a specified file. The path to the file. The file size, in bytes. [AlphaFS] Retrieves the file size, in bytes to store a specified file. The to the file. The file size, in bytes. [AlphaFS] Retrieves the file size, in bytes to store a specified file. The transaction. The path to the file. Indicates the format of the path parameter(s). The number of bytes of disk storage used to store the specified file. [AlphaFS] Retrieves the file size, in bytes to store a specified file. The transaction. The path to the file. The number of bytes of disk storage used to store the specified file. Retrieves the file size, in bytes to store a specified file. Use either or , not both. The transaction. The to the file. The path to the file. Indicates the format of the path parameter(s). The number of bytes of disk storage used to store the specified file. [AlphaFS] Transfers the date and time stamps for the specified files. This method does not change last access time for the source file. The source file to get the date and time stamps from. The destination file to set the date and time stamps. Indicates the format of the path parameter(s). [AlphaFS] Transfers the date and time stamps for the specified files. This method does not change last access time for the source file. The source file to get the date and time stamps from. The destination file to set the date and time stamps. [AlphaFS] Transfers the date and time stamps for the specified files. This method does not change last access time for the source file. The transaction. The source file to get the date and time stamps from. The destination file to set the date and time stamps. Indicates the format of the path parameter(s). [AlphaFS] Transfers the date and time stamps for the specified files. This method does not change last access time for the source file. The transaction. The source file to get the date and time stamps from. The destination file to set the date and time stamps. Transfer the date and time stamps for the specified files and directories. This method does not change last access time for the source file. This method uses BackupSemantics flag to get Timestamp changed for directories. Specifies that and are a file or directory. The transaction. The source path. The destination path. Indicates the format of the path parameter(s). Opens an existing file for reading. The file to be opened for reading. A read-only on the specified path. This method is equivalent to the (string, FileMode, FileAccess, FileShare) constructor overload with a value of Open, a value of Read and a value of Read. [AlphaFS] Opens an existing file for reading. The file to be opened for reading. Indicates the format of the path parameter(s). A read-only on the specified path. This method is equivalent to the (string, FileMode, FileAccess, FileShare) constructor overload with a value of Open, a value of Read and a value of Read. [AlphaFS] Opens an existing file for reading. The transaction. The file to be opened for reading. A read-only on the specified path. This method is equivalent to the (string, FileMode, FileAccess, FileShare) constructor overload with a value of Open, a value of Read and a value of Read. [AlphaFS] Opens an existing file for reading. The transaction. The file to be opened for reading. Indicates the format of the path parameter(s). A read-only on the specified path. This method is equivalent to the (string, FileMode, FileAccess, FileShare) constructor overload with a value of Open, a value of Read and a value of Read. Opens an existing UTF-8 encoded text file for reading. The file to be opened for reading. A on the specified path. This method is equivalent to the (String) constructor overload. [AlphaFS] Opens an existing UTF-8 encoded text file for reading. The file to be opened for reading. Indicates the format of the path parameter(s). A on the specified path. This method is equivalent to the (String) constructor overload. [AlphaFS] Opens an existing encoded text file for reading. The file to be opened for reading. The applied to the contents of the file. Indicates the format of the path parameter(s). A on the specified path. This method is equivalent to the (String) constructor overload. [AlphaFS] Opens an existing encoded text file for reading. The file to be opened for reading. The applied to the contents of the file. A on the specified path. This method is equivalent to the (String) constructor overload. [AlphaFS] Opens an existing UTF-8 encoded text file for reading. The transaction. The file to be opened for reading. A on the specified path. This method is equivalent to the (String) constructor overload. [AlphaFS] Opens an existing UTF-8 encoded text file for reading. The transaction. The file to be opened for reading. Indicates the format of the path parameter(s). A on the specified path. This method is equivalent to the (String) constructor overload. [AlphaFS] Opens an existing encoded text file for reading. The transaction. The file to be opened for reading. The applied to the contents of the file. Indicates the format of the path parameter(s). A on the specified path. This method is equivalent to the (String) constructor overload. [AlphaFS] Opens an existing encoded text file for reading. The transaction. The file to be opened for reading. The applied to the contents of the file. A on the specified path. This method is equivalent to the (String) constructor overload. Opens an existing file or creates a new file for writing. The file to be opened for writing. An unshared object on the specified path with access. This method is equivalent to the (String, FileMode, FileAccess, FileShare) constructor overload with file mode set to OpenOrCreate, the access set to Write, and the share mode set to None. [AlphaFS] Opens an existing file or creates a new file for writing. The file to be opened for writing. Indicates the format of the path parameter(s). An unshared object on the specified path with access. This method is equivalent to the (String, FileMode, FileAccess, FileShare) constructor overload with file mode set to OpenOrCreate, the access set to Write, and the share mode set to None. [AlphaFS] Opens an existing file or creates a new file for writing. The transaction. The file to be opened for writing. An unshared object on the specified path with access. This method is equivalent to the (String, FileMode, FileAccess, FileShare) constructor overload with file mode set to OpenOrCreate, the access set to Write, and the share mode set to None. [AlphaFS] Opens an existing file or creates a new file for writing. The transaction. The file to be opened for writing. Indicates the format of the path parameter(s). An unshared object on the specified path with access. This method is equivalent to the (String, FileMode, FileAccess, FileShare) constructor overload with file mode set to OpenOrCreate, the access set to Write, and the share mode set to None. [AlphaFS] Opens the specified file for reading purposes bypassing security attributes. The file path to open. Indicates the format of the path parameter(s). A on the specified path, having the read-only mode and sharing options. [AlphaFS] Opens the specified file for reading purposes bypassing security attributes. This method is simpler to use then BackupFileStream to read only file's data stream. The file path to open. A on the specified path, having the read-only mode and sharing options. [AlphaFS] Opens the specified file for reading purposes bypassing security attributes. The transaction. The file path to open. Indicates the format of the path parameter(s). A on the specified path, having the read-only mode and sharing options. [AlphaFS] Opens the specified file for reading purposes bypassing security attributes. The transaction. The file path to open. A on the specified path, having the read-only mode and sharing options. Provides access to information of a device, on a local or remote host. Initializes a DeviceInfo class. Initializes a DeviceInfo class. The DNS or NetBIOS name of the remote server. refers to the local host. Enumerates all available devices on the local host. One of the devices. instances of type from the local host. Represents the value of the base container identifier (ID) .The Windows Plug and Play (PnP) manager assigns this value to the device node (devnode). Represents the name of the device setup class that a device instance belongs to. Represents the of the device setup class that a device instance belongs to. Represents the list of compatible identifiers for a device instance. Represents a description of a device instance. The device interface path. Represents the registry entry name of the driver key for a device instance. Represents the name of the enumerator for a device instance. Represents the friendly name of a device instance. Represents the list of hardware identifiers for a device instance. The host name that was passed to the class constructor. Gets the instance Id of the device. Represents the bus-specific physical location of a device instance. Represents the location of a device instance in the device tree. Represents the name of the manufacturer of a device instance. Encapsulates the physical device location information provided by a device's firmware to Windows. Represents the name of the service that is installed for a device instance. Retrieves information about the amount of space that is available on a disk volume, which is the total amount of space, the total amount of free space, and the total amount of free space available to the user that is associated with the calling thread. This class cannot be inherited. Initializes a DiskSpaceInfo instance. A valid drive path or drive letter. This can be either uppercase or lowercase, 'a' to 'z' or a network share in the format: \\server\share This is a Lazyloading object; call to populate all properties first before accessing. Initializes a DiskSpaceInfo instance. A valid drive path or drive letter. This can be either uppercase or lowercase, 'a' to 'z' or a network share in the format: \\server\share gets both size- and disk cluster information. Get only disk cluster information, Get only size information. Refreshes the state of the object. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Refreshes the state of the object. Initializes all properties to 0. Returns the drive name. A string that represents this object. Indicates the amount of available free space on a drive, formatted as percentage. Indicates the amount of available free space on a drive, formatted as a unit size. Returns the Clusters size. Gets the name of a drive. The name of the drive. This property is the name assigned to the drive, such as C:\ or E:\ The total number of bytes on a disk that are available to the user who is associated with the calling thread, formatted as a unit size. Indicates the amount of used space on a drive, formatted as percentage. Indicates the amount of used space on a drive, formatted as a unit size. The total number of free bytes on a disk that are available to the user who is associated with the calling thread. The total number of bytes on a disk that are available to the user who is associated with the calling thread. The total number of free bytes on a disk. The number of bytes per sector. The total number of free clusters on the disk that are available to the user who is associated with the calling thread. The number of sectors per cluster. The total number of clusters on the disk that are available to the user who is associated with the calling thread. If per-user disk quotas are in use, this value may be less than the total number of clusters on the disk. Provides access to information on a local or remote drive. This class models a drive and provides methods and properties to query for drive information. Use DriveInfo to determine what drives are available, and what type of drives they are. You can also query to determine the capacity and available free space on the drive. Provides access to information on the specified drive. A valid drive path or drive letter. This can be either uppercase or lowercase, 'a' to 'z' or a network share in the format: \\server\share Indicates the amount of available free space on a drive. The amount of free space available on the drive, in bytes. This property indicates the amount of free space available on the drive. Note that this number may be different from the number because this property takes into account disk quotas. Gets the name of the file system, such as NTFS or FAT32. Use DriveFormat to determine what formatting a drive uses. Gets the drive type. One of the values. The DriveType property indicates whether a drive is any of: CDRom, Fixed, Unknown, Network, NoRootDirectory, Ram, Removable, or Unknown. Values are listed in the enumeration. Gets a value indicating whether a drive is ready. if the drive is ready; otherwise, . IsReady indicates whether a drive is ready. For example, it indicates whether a CD is in a CD drive or whether a removable storage device is ready for read/write operations. If you do not test whether a drive is ready, and it is not ready, querying the drive using DriveInfo will raise an IOException. Do not rely on IsReady() to avoid catching exceptions from other members such as TotalSize, TotalFreeSpace, and DriveFormat. Between the time that your code checks IsReady and then accesses one of the other properties (even if the access occurs immediately after the check), a drive may have been disconnected or a disk may have been removed. Gets the name of the drive. The name of the drive. This property is the name assigned to the drive, such as C:\ or E:\ Gets the root directory of a drive. A DirectoryInfo object that contains the root directory of the drive. Gets the total amount of free space available on a drive. The total free space available on a drive, in bytes. This property indicates the total amount of free space available on the drive, not just what is available to the current user. Gets the total size of storage space on a drive. The total size of the drive, in bytes. This property indicates the total size of the drive in bytes, not just what is available to the current user. Gets or sets the volume label of a drive. The volume label. The label length is determined by the operating system. For example, NTFS allows a volume label to be up to 32 characters long. Note that is a valid VolumeLabel. [AlphaFS] Returns the instance. [AlphaFS] The MS-DOS device name. [AlphaFS] Indicates if this drive is a SUBST.EXE / DefineDosDevice drive mapping. [AlphaFS] Indicates if this drive is a UNC path. Only retrieve this information if we're dealing with a real network share mapping: http://alphafs.codeplex.com/discussions/316583 [AlphaFS] Determines whether the specified volume name is a defined volume on the current computer. [AlphaFS] Contains information about a file-system volume. A VolumeInfo object that contains file-system volume information of the drive. Retrieves the drive names of all logical drives on a computer. An array of type that represents the logical drives on a computer. Returns a drive name as a string. The name of the drive. This method returns the Name property. [AlphaFS] Enumerates the drive names of all logical drives on a computer. Retrieve logical drives as known by the Environment. Retrieve only when accessible (IsReady) logical drives. An IEnumerable of type that represents the logical drives on a computer. [AlphaFS] Gets the first available drive letter on the local system. A drive letter as . When no drive letters are available, an exception is thrown. The letters "A" and "B" are reserved for floppy drives and will never be returned by this function. Gets an available drive letter on the local system. When get the last available drive letter. When gets the first available drive letter. A drive letter as . When no drive letters are available, an exception is thrown. The letters "A" and "B" are reserved for floppy drives and will never be returned by this function. Retrieves information about the file system and volume associated with the specified root file or directorystream. Used by CopyFileXxx and MoveFileXxx. The function should return one of the following values. PROGRESS_CONTINUE Continue the copy operation. PROGRESS_CANCEL Cancel the copy operation and delete the destination file. PROGRESS_STOP Stop the copy operation. It can be restarted at a later time. PROGRESS_QUIET Continue the copy operation, but stop invoking to report progress. [AlphaFS] Directory enumeration options, flags that specify how a directory is to be enumerated. None (do not use). Enumerate files only. Enumerate directories only. Enumerate files and directories. Return full path as long full path (Unicode format), only valid when return type is . Skip reparse points during directory enumeration. Suppress any Exception that might be thrown as a result from a failure, such as ACLs protected directories or non-accessible reparse points. Specifies whether to search the current directory, or the current directory and all subdirectories. Enumerates the directory without querying the short file name, improving overall enumeration speed. This option is enabled by default if supported. This value is not supported until Windows Server 2008 R2 and Windows 7. Enumerates the directory using a larger buffer for directory queries, which can increase performance of the find operation. This option is enabled by default if supported. This value is not supported until Windows Server 2008 R2 and Windows 7. System-Defined Device Interface Classes http://msdn.microsoft.com/en-us/library/windows/hardware/ff541389%28v=vs.85%29.aspx The BUS1394_CLASS_GUID device interface class is defined for 1394 bus devices. The GUID_61883_CLASS device interface class is defined for devices in the 61883 device setup class. The GUID_DEVICE_APPLICATIONLAUNCH_BUTTON device interface class is defined for Advanced Configuration and Power Interface (ACPI) application start buttons. The GUID_DEVICE_BATTERY device interface class is defined for battery devices. The GUID_DEVICE_LID device interface class is defined for Advanced Configuration and Power Interface (ACPI) lid devices. The GUID_DEVICE_MEMORY device interface class is defined for Advanced Configuration and Power Interface (ACPI) memory devices. The GUID_DEVICE_MESSAGE_INDICATOR device interface class is defined for Advanced Configuration and Power Interface (ACPI) message indicator devices. The GUID_DEVICE_PROCESSOR device interface class is defined for Advanced Configuration and Power Interface (ACPI) processor devices. The GUID_DEVICE_SYS_BUTTON device interface classis defined for Advanced Configuration and Power Interface (ACPI) system power button devices. The GUID_DEVICE_THERMAL_ZONE device interface class is defined for Advanced Configuration and Power Interface (ACPI) thermal zone devices. The GUID_BTHPORT_DEVICE_INTERFACE device interface class is defined for Bluetooth radios. The GUID_DEVINTERFACE_BRIGHTNESS device interface class is defined for display adapter drivers that operate in the context of the Windows Vista Display Driver Model and support brightness control of monitor child devices. The GUID_DEVINTERFACE_DISPLAY_ADAPTER device interface class is defined for display views that are supported by display adapters. The GUID_DEVINTERFACE_I2C device interface class is defined for display adapter drivers that operate in the context of the Windows Vista Display Driver Model and perform I2C transactions with monitor child devices. The GUID_DEVINTERFACE_IMAGE device interface class is defined for WIA devices and Still Image (STI) devices, including digital cameras and scanners. The GUID_DEVINTERFACE_MONITOR device interface class is defined for monitor devices. The GUID_DEVINTERFACE_OPM device interface class is defined for display adapter drivers that operate in the context of the Windows Vista Display Driver Model and support output protection management (OPM) for monitor child devices. The GUID_DEVINTERFACE_VIDEO_OUTPUT_ARRIVAL device interface class is defined for child devices of display devices. The GUID_DISPLAY_DEVICE_ARRIVAL device interface class is defined for display adapters. The GUID_DEVINTERFACE_HID device interface class is defined for HID collections. The GUID_DEVINTERFACE_KEYBOARD device interface class is defined for keyboard devices. The GUID_DEVINTERFACE_MOUSE device interface class is defined for mouse devices. The GUID_DEVINTERFACE_MODEM device interface class is defined for modem devices. The GUID_DEVINTERFACE_NET device interface class is defined for network devices. The GUID_DEVINTERFACE_COMPORT device interface class is defined for COM ports. The GUID_DEVINTERFACE_PARALLEL device interface class is defined for parallel ports that support an IEEE 1284-compatible hardware interface. The GUID_DEVINTERFACE_PARCLASS device interface class is defined for devices that are attached to a parallel port. The GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR device interface class is defined for Plug and Play (PnP) serial ports. The GUID_DEVINTERFACE_CDCHANGER device interface class is defined for CD-ROM changer devices. The GUID_DEVINTERFACE_CDROM device interface class is defined for CD-ROM storage devices. The GUID_DEVINTERFACE_DISK device interface class is defined for hard disk storage devices. The GUID_DEVINTERFACE_FLOPPY device interface class is defined for floppy disk storage devices. The GUID_DEVINTERFACE_MEDIUMCHANGER device interface class is defined for medium changer devices. The GUID_DEVINTERFACE_PARTITION device interface class is defined for partition devices. The GUID_DEVINTERFACE_STORAGEPORT device interface class is defined for storage port devices. The GUID_DEVINTERFACE_TAPE device interface class is defined for tape storage devices. The GUID_DEVINTERFACE_VOLUME device interface class is defined for volume devices. The GUID_DEVINTERFACE_WRITEONCEDISK device interface class is defined for write-once disk devices. The GUID_DEVINTERFACE_USB_DEVICE device interface class is defined for USB devices that are attached to a USB hub. The GUID_DEVINTERFACE_USB_HOST_CONTROLLER device interface class is defined for USB host controller devices. The GUID_DEVINTERFACE_USB_HUB device interface class is defined for USB hub devices. Defines the controllable aspects of the Volume.DefineDosDevice() method. DDD_EXACT_MATCH_ON_REMOVE Default. DDD_RAW_TARGET_PATH Uses the targetPath string as is. Otherwise, it is converted from an MS-DOS path to a path. DDD_REMOVE_DEFINITION Removes the specified definition for the specified device. To determine which definition to remove, the function walks the list of mappings for the device, looking for a match of targetPath against a prefix of each mapping associated with this device. The first mapping that matches is the one removed, and then the function returns. If targetPath is null or a pointer to a null string, the function will remove the first mapping associated with the device and pop the most recent one pushed.If there is nothing left to pop, the device name will be removed. If this value is not specified, the string pointed to by the targetPath parameter will become the new mapping for this device. DDD_EXACT_MATCH_ON_REMOVE If this value is specified along with , the function will use an exact match to determine which mapping to remove. Use this value to ensure that you do not delete something that you did not define. DDD_NO_BROADCAST_SYSTEM Do not broadcast the WM_SETTINGCHANGE message. By default, this message is broadcast to notify the shell and applications of the change. Determines the format to convert a path to using (FileNameNormalized / VolumeNameDos) Return the normalized drive name. This is the default. Return the path with a volume GUID path instead of the drive name. Return the path with the volume device path. Return the path with no drive information. Return the opened file name (not normalized). Enumeration specifying the different reparse point tags. Reparse tags, with the exception of IO_REPARSE_TAG_SYMLINK, are processed on the server and are not processed by a client after transmission over the wire. Clients should treat associated reparse data as opaque data. The entry is not a reparse point. IO_REPARSE_APPXSTREAM IO_REPARSE_TAG_CSV IO_REPARSE_TAG_DRIVER_EXTENDER Used by Home server drive extender. IO_REPARSE_TAG_DEDUP IO_REPARSE_TAG_DFS Used by the DFS filter. IO_REPARSE_TAG_DFSR Used by the DFS filter. IO_REPARSE_TAG_FILTER_MANAGER Used by filter manager test harness. IO_REPARSE_TAG_HSM (Obsolete) Used by legacy Hierarchical Storage Manager Product. IO_REPARSE_TAG_HSM2 (Obsolete) Used by legacy Hierarchical Storage Manager Product. IO_REPARSE_TAG_NFS NFS symlinks, Windows 8 / SMB3 and later. IO_REPARSE_TAG_MOUNT_POINT Used for mount point support. IO_REPARSE_TAG_SIS Used by single-instance storage (SIS) filter driver. IO_REPARSE_TAG_SYMLINK Used for symbolic link support. IO_REPARSE_TAG_WIM WIN32_STREAM_ID Attributes of data to facilitate cross-operating system transfer. STREAM_NORMAL_ATTRIBUTE This backup stream has no special attributes. STREAM_MODIFIED_WHEN_READ Attribute set if the stream contains data that is modified when read. Allows the backup application to know that verification of data will fail. STREAM_CONTAINS_SECURITY The backup stream contains security information. This attribute applies only to backup stream of type . Reserved. STREAM_SPARSE_ATTRIBUTE The backup stream is part of a sparse file stream. This attribute applies only to backup stream of type , , and . The type of the data contained in the backup stream. This indicates an error. BACKUP_DATA Standard data. This corresponds to the NTFS $DATA stream type on the default (unnamed) data stream. BACKUP_EA_DATA Extended attribute data. This corresponds to the NTFS $EA stream type. BACKUP_SECURITY_DATA Security descriptor data. BACKUP_ALTERNATE_DATA Alternative data streams. This corresponds to the NTFS $DATA stream type on a named data stream. BACKUP_LINK Hard link information. This corresponds to the NTFS $FILE_NAME stream type. BACKUP_PROPERTY_DATA Property data. BACKUP_OBJECT_ID Objects identifiers. This corresponds to the NTFS $OBJECT_ID stream type. BACKUP_REPARSE_DATA Reparse points. This corresponds to the NTFS $REPARSE_POINT stream type. BACKUP_SPARSE_BLOCK Sparse file. This corresponds to the NTFS $DATA stream type for a sparse file. BACKUP_TXFS_DATA Transactional NTFS (TxF) data stream. Windows Server 2003 and Windows XP: This value is not supported. Flags that specify how a file or directory is to be copied. No CopyOptions used, this allows overwriting the file. COPY_FILE_FAIL_IF_EXISTS The copy operation fails immediately if the target file already exists. COPY_FILE_RESTARTABLE Progress of the copy is tracked in the target file in case the copy fails. The failed copy can be restarted at a later time by specifying the same values forexisting file name and new file name as those used in the call that failed. This can significantly slow down the copy operation as the new file may be flushed multiple times during the copy operation. COPY_FILE_OPEN_SOURCE_FOR_WRITE The file is copied and the original file is opened for write access. COPY_FILE_ALLOW_DECRYPTED_DESTINATION An attempt to copy an encrypted file will succeed even if the destination copy cannot be encrypted. COPY_FILE_COPY_SYMLINK If the source file is a symbolic link, the destination file is also a symbolic link pointing to the same file that the source symbolic link is pointing to. COPY_FILE_NO_BUFFERING The copy operation is performed using unbuffered I/O, bypassing system I/O cache resources. Recommended for very large file transfers. Used by CopyFileXxx and MoveFileXxx. The reason that was called. CALLBACK_CHUNK_FINISHED Another part of the data file was copied. CALLBACK_STREAM_SWITCH Another stream was created and is about to be copied. This is the callback reason given when the callback routine is first invoked. Provides static methods to retrieve device resource information from a local or remote host. Enumerates all available devices on the local host. instances of type from the local host. One of the devices. Enumerates all available devices of type on the local or remote host. instances of type for the specified . The name of the local or remote host on which the device resides. refers to the local host. One of the devices. Enumerates all available devices on the local or remote host. Get information about the target of a mount point or symbolic link on an NTFS file system. Sets the NTFS compression state of a file or directory on a volume whose file system supports per-file and per-directory compression. Specifies that is a file or directory. The transaction. A path that describes a folder or file to compress or decompress. = compress, = decompress Indicates the format of the path parameter(s). Builds a DeviceInfo Data structure. An initialized NativeMethods.SP_DEVINFO_DATA instance. Builds a Device Interface Data structure. An initialized NativeMethods.SP_DEVICE_INTERFACE_DATA instance. Builds a Device Interface Detail Data structure. An initialized NativeMethods.SP_DEVICE_INTERFACE_DETAIL_DATA instance. Repeatedly invokes InvokeIoControl with the specified input until enough memory has been allocated. The provides access to data associated with a specific file or directory, including security information and alternative data streams, for backup and restore operations. This class uses the BackupRead, BackupSeek and BackupWrite functions from the Win32 API to provide access to the file or directory. Initializes a new instance of the class with the specified path and creation mode. A relative or absolute path for the file that the current object will encapsulate. A constant that determines how to open or create the file. The file will be opened for exclusive access for both reading and writing. Initializes a new instance of the class with the specified path, creation mode and access rights. A relative or absolute path for the file that the current object will encapsulate. A constant that determines how to open or create the file. A constant that determines the access rights to use when creating access and audit rules for the file. The file will be opened for exclusive access. Initializes a new instance of the class with the specified path, creation mode, access rights and sharing permission. A relative or absolute path for the file that the current object will encapsulate. A constant that determines how to open or create the file. A constant that determines the access rights to use when creating access and audit rules for the file. A constant that determines how the file will be shared by processes. Initializes a new instance of the class with the specified path, creation mode, access rights and sharing permission, and additional file attributes. A relative or absolute path for the file that the current object will encapsulate. A constant that determines how to open or create the file. A constant that determines the access rights to use when creating access and audit rules for the file. A constant that determines how the file will be shared by processes. A constant that specifies additional file attributes. Initializes a new instance of the class with the specified path, creation mode, access rights and sharing permission, additional file attributes, access control and audit security. A relative or absolute path for the file that the current object will encapsulate. A constant that determines how to open or create the file. A constant that determines the access rights to use when creating access and audit rules for the file. A constant that determines how the file will be shared by processes. A constant that specifies additional file attributes. A constant that determines the access control and audit security for the file. This parameter This parameter may be . Initializes a new instance of the class with the specified path and creation mode. The transaction. A relative or absolute path for the file that the current object will encapsulate. A constant that determines how to open or create the file. The file will be opened for exclusive access for both reading and writing. Initializes a new instance of the class with the specified path, creation mode and access rights. The transaction. A relative or absolute path for the file that the current object will encapsulate. A constant that determines how to open or create the file. A constant that determines the access rights to use when creating access and audit rules for the file. The file will be opened for exclusive access. Initializes a new instance of the class with the specified path, creation mode, access rights and sharing permission. The transaction. A relative or absolute path for the file that the current object will encapsulate. A constant that determines how to open or create the file. A constant that determines the access rights to use when creating access and audit rules for the file. A constant that determines how the file will be shared by processes. Initializes a new instance of the class with the specified path, creation mode, access rights and sharing permission, and additional file attributes. The transaction. A relative or absolute path for the file that the current object will encapsulate. A constant that determines how to open or create the file. A constant that determines the access rights to use when creating access and audit rules for the file. A constant that determines how the file will be shared by processes. A constant that specifies additional file attributes. Initializes a new instance of the class with the specified path, creation mode, access rights and sharing permission, additional file attributes, access control and audit security. The transaction. A relative or absolute path for the file that the current object will encapsulate. A constant that determines how to open or create the file. A constant that determines the access rights to use when creating access and audit rules for the file. A constant that determines how the file will be shared by processes. A constant that specifies additional file attributes. A constant that determines the access control and audit security for the file. This parameter This parameter may be . Initializes a new instance of the class for the specified file handle, with the specified read/write permission. A file handle for the file that this object will encapsulate. A constant that gets the and properties of the object. When overridden in a derived class, gets the length in bytes of the stream. This method always throws an exception. When overridden in a derived class, gets or sets the position within the current stream. This method always throws an exception. When overridden in a derived class, sets the position within the current stream. A byte offset relative to the parameter. A value of type indicating the reference point used to obtain the new position. The new position within the current stream. This stream does not support seeking using this method, and calling this method will always throw . See for an alternative way of seeking forward. When overridden in a derived class, sets the length of the current stream. The desired length of the current stream in bytes. This method is not supported by the class, and calling it will always generate a . Gets a value indicating whether the current stream supports reading. if the stream supports reading, otherwise. Gets a value indicating whether the current stream supports seeking. This method always returns . Gets a value indicating whether the current stream supports writing. if the stream supports writing, otherwise. Gets a object that represents the operating system file handle for the file that the current object encapsulates. A object that represents the operating system file handle for the file that the current object encapsulates. Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. This method will not backup the access-control list (ACL) data for the file or directory. An array of bytes. When this method returns, the buffer contains the specified byte array with the values between and ( + - 1) replaced by the bytes read from the current source. The zero-based byte offset in at which to begin storing the data read from the current stream. The maximum number of bytes to be read from the current stream. The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached. When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. An array of bytes. When this method returns, the buffer contains the specified byte array with the values between and ( + - 1) replaced by the bytes read from the current source. The zero-based byte offset in at which to begin storing the data read from the current stream. The maximum number of bytes to be read from the current stream. Indicates whether the function will backup the access-control list (ACL) data for the file or directory. The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached. Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. An array of bytes. This method copies bytes from to the current stream. The zero-based byte offset in at which to begin copying bytes to the current stream. The number of bytes to be written to the current stream. This method will not process the access-control list (ACL) data for the file or directory. When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. An array of bytes. This method copies bytes from to the current stream. The zero-based byte offset in at which to begin copying bytes to the current stream. The number of bytes to be written to the current stream. Specifies whether the function will restore the access-control list (ACL) data for the file or directory. If this is you need to specify and access when opening the file or directory handle. If the handle does not have those access rights, the operating system denies access to the ACL data, and ACL data restoration will not occur. Clears all buffers for this stream and causes any buffered data to be written to the underlying device. Skips ahead the specified number of bytes from the current stream. This method represents the Win32 API implementation of BackupSeek. Applications use the method to skip portions of a data stream that cause errors. This function does not seek across stream headers. For example, this function cannot be used to skip the stream name. If an application attempts to seek past the end of a substream, the function fails, the return value indicates the actual number of bytes the function seeks, and the file position is placed at the start of the next stream header. The number of bytes to skip. The number of bytes actually skipped. Gets a object that encapsulates the access control list (ACL) entries for the file described by the current object. A object that encapsulates the access control list (ACL) entries for the file described by the current object. Applies access control list (ACL) entries described by a object to the file described by the current object. A object that describes an ACL entry to apply to the current file. Prevents other processes from changing the while permitting read access. The beginning of the range to lock. The value of this parameter must be equal to or greater than zero (0). The range to be locked. Allows access by other processes to all or part of a file that was previously locked. The beginning of the range to unlock. The range to be unlocked. Reads a stream header from the current . The stream header read from the current , or if the end-of-file was reached before the required number of bytes of a header could be read. The stream must be positioned at where an actual header starts for the returned object to represent valid information. Releases the unmanaged resources used by the and optionally releases the managed resources. to release both managed and unmanaged resources; to release only unmanaged resources. Releases unmanaged resources and performs other cleanup operations before the is reclaimed by garbage collection. Represents the encryption status of the specified file. The file can be encrypted. The file is encrypted. The file is a system file. System files cannot be encrypted. The file is a root directory. Root directories cannot be encrypted. The file is a system directory. System directories cannot be encrypted. The encryption status is unknown. The file may be encrypted. The file system does not support file encryption. Reserved for future use. The file is a read-only file. Contains information that the GetFileInformationByHandle function retrieves. Gets the file attributes. The file attributes. Gets the time this entry was created. The time this entry was created. Gets the time, in coordinated universal time (UTC), this entry was created. The time, in coordinated universal time (UTC), this entry was created. Gets the time this entry was last accessed. For a file, the structure specifies the last time that a file is read from or written to. For a directory, the structure specifies when the directory is created. For both files and directories, the specified date is correct, but the time of day is always set to midnight. If the underlying file system does not support the last access time, this member is zero (0). The time this entry was last accessed. Gets the time, in coordinated universal time (UTC), this entry was last accessed. For a file, the structure specifies the last time that a file is read from or written to. For a directory, the structure specifies when the directory is created. For both files and directories, the specified date is correct, but the time of day is always set to midnight. If the underlying file system does not support the last access time, this member is zero (0). The time, in coordinated universal time (UTC), this entry was last accessed. Gets the time this entry was last modified. For a file, the structure specifies the last time that a file is written to. For a directory, the structure specifies when the directory is created. If the underlying file system does not support the last access time, this member is zero (0). The time this entry was last modified. Gets the time, in coordinated universal time (UTC), this entry was last modified. For a file, the structure specifies the last time that a file is written to. For a directory, the structure specifies when the directory is created. If the underlying file system does not support the last access time, this member is zero (0). The time, in coordinated universal time (UTC), this entry was last modified. Gets the serial number of the volume that contains a file. The serial number of the volume that contains a file. Gets the size of the file. The size of the file. Gets the number of links to this file. For the FAT file system this member is always 1. For the NTFS file system, it can be more than 1. The number of links to this file. Gets the unique identifier associated with the file. The identifier and the volume serial number uniquely identify a file on a single computer. To determine whether two open handles represent the same file, combine the identifier and the volume serial number for each file and compare them. The unique identifier of the file. Contains information about files in the specified directory. Used for directory handles. The number of bytes that are allocated for the file. This value is usually a multiple of the sector or cluster size of the underlying physical device. Gets the time this entry was changed. The time this entry was changed. Gets the time, in coordinated universal time (UTC), this entry was changed. The time, in coordinated universal time (UTC), this entry was changed. Gets the time this entry was created. The time this entry was created. Gets the time, in coordinated universal time (UTC), this entry was created. The time, in coordinated universal time (UTC), this entry was created. The size of the extended attributes for the file. The absolute new end-of-file position as a byte offset from the start of the file to the end of the file. Because this value is zero-based, it actually refers to the first free byte in the file. In other words, EndOfFile is the offset to the byte that immediately follows the last valid byte in the file. The file attributes. The file ID. The byte offset of the file within the parent directory. This member is undefined for file systems, such as NTFS, in which the position of a file within the parent directory is not fixed and can be changed at any time to maintain sort order. The name of the file. Gets the time this entry was last accessed. The time this entry was last accessed. Gets the time, in coordinated universal time (UTC), this entry was last accessed. The time, in coordinated universal time (UTC), this entry was last accessed. Gets the time this entry was last modified. The time this entry was last modified. Gets the time, in coordinated universal time (UTC), this entry was last modified. The time, in coordinated universal time (UTC), this entry was last modified. The short 8.3 file naming convention (for example, FILENAME.TXT) name of the file. Provides properties and instance methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of objects. This class cannot be inherited. [AlphaFS] Calculates the hash/checksum. One of the values. Refreshes the state of the EntryInfo instance. [AlphaFS] Returns an enumerable collection of instances for the file. An enumerable collection of instances for the file. [AlphaFS] Decompresses an NTFS compressed file. [AlphaFS] Compresses a file using NTFS compression. Returns the path as a string. The path. Applies access control list (ACL) entries described by a FileSecurity object to the file described by the current FileInfo object. The SetAccessControl method applies access control list (ACL) entries to the current file that represents the noninherited ACL list. Use the SetAccessControl method whenever you need to add or remove ACL entries from a file. A object that describes an access control list (ACL) entry to apply to the current file. Applies access control list (ACL) entries described by a FileSecurity object to the file described by the current FileInfo object. The SetAccessControl method applies access control list (ACL) entries to the current file that represents the noninherited ACL list. Use the SetAccessControl method whenever you need to add or remove ACL entries from a file. A object that describes an access control list (ACL) entry to apply to the current file. One or more of the values that specifies the type of access control list (ACL) information to set. Replaces the contents of a specified file with the file described by the current object, deleting the original file, and creating a backup of the replaced file. A object that encapsulates information about the file described by the parameter. The Replace method replaces the contents of a specified file with the contents of the file described by the current object. It also creates a backup of the file that was replaced. Finally, it returns a new object that describes the overwritten file. Pass null to the parameter if you do not want to create a backup of the file being replaced. The name of a file to replace with the current file. The name of a file with which to create a backup of the file described by the parameter. Replaces the contents of a specified file with the file described by the current object, deleting the original file, and creating a backup of the replaced file. Also specifies whether to ignore merge errors. A object that encapsulates information about the file described by the parameter. The Replace method replaces the contents of a specified file with the contents of the file described by the current object. It also creates a backup of the file that was replaced. Finally, it returns a new object that describes the overwritten file. Pass null to the parameter if you do not want to create a backup of the file being replaced. The name of a file to replace with the current file. The name of a file with which to create a backup of the file described by the parameter. to ignore merge errors (such as attributes and ACLs) from the replaced file to the replacement file; otherwise, . [AlphaFS] Replaces the contents of a specified file with the file described by the current object, deleting the original file, and creating a backup of the replaced file. Also specifies whether to ignore merge errors. A object that encapsulates information about the file described by the parameter. The Replace method replaces the contents of a specified file with the contents of the file described by the current object. It also creates a backup of the file that was replaced. Finally, it returns a new object that describes the overwritten file. Pass null to the parameter if you do not want to create a backup of the file being replaced. The name of a file to replace with the current file. The name of a file with which to create a backup of the file described by the parameter. Indicates the format of the path parameter(s). [AlphaFS] Replaces the contents of a specified file with the file described by the current object, deleting the original file, and creating a backup of the replaced file. Also specifies whether to ignore merge errors. A object that encapsulates information about the file described by the parameter. The Replace method replaces the contents of a specified file with the contents of the file described by the current object. It also creates a backup of the file that was replaced. Finally, it returns a new object that describes the overwritten file. Pass null to the parameter if you do not want to create a backup of the file being replaced. The name of a file to replace with the current file. The name of a file with which to create a backup of the file described by the parameter. to ignore merge errors (such as attributes and ACLs) from the replaced file to the replacement file; otherwise, . Indicates the format of the path parameter(s). Refreshes the state of the object. Creates a write-only . A write-only unshared object for a new or existing file. Creates a with NativeMethods.DefaultFileEncoding encoding that reads from an existing text file. A new with NativeMethods.DefaultFileEncoding encoding. [AlphaFS] Creates a with that reads from an existing text file. A new with the specified . The applied to the contents of the file. Creates a read-only . A new read-only object. This method returns a read-only object with the mode set to Read. Opens a file in the specified mode. A file opened in the specified mode, with read/write access and unshared. A constant specifying the mode (for example, Open or Append) in which to open the file. Opens a file in the specified mode with read, write, or read/write access. A object opened in the specified mode and access, and unshared. A constant specifying the mode (for example, Open or Append) in which to open the file. A constant specifying whether to open the file with Read, Write, or ReadWrite file access. Opens a file in the specified mode with read, write, or read/write access and the specified sharing option. A object opened with the specified mode, access, and sharing options. A constant specifying the mode (for example, Open or Append) in which to open the file. A constant specifying whether to open the file with Read, Write, or ReadWrite file access. A constant specifying the type of access other objects have to this file. [AlphaFS] Opens a file in the specified mode with read, write, or read/write access. A object opened in the specified mode and access, and unshared. A constant specifying the mode (for example, Open or Append) in which to open the file. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten along with additional options. [AlphaFS] Opens a file in the specified mode with read, write, or read/write access and the specified sharing option. A object opened with the specified mode, access, and sharing options. A constant specifying the mode (for example, Open or Append) in which to open the file. A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten along with additional options. A constant specifying the type of access other objects have to this file. Gets a object that encapsulates the access control list (ACL) entries for the file described by the current object. A FileSecurity object that encapsulates the access control rules for the current file. Gets a object that encapsulates the specified type of access control list (ACL) entries for the file described by the current FileInfo object. object that encapsulates the specified type of access control list (ACL) entries for the file described by the current FileInfo object. One of the values that specifies which group of access control entries to retrieve. Encrypts a file so that only the account used to encrypt the file can decrypt it. Permanently deletes a file. If the file does not exist, this method does nothing. [AlphaFS] Permanently deletes a file. If the file does not exist, this method does nothing. overrides the read only of the file. Decrypts a file that was encrypted by the current account using the Encrypt method. Creates a instance that writes a new text file. A new Creates a file. A new file. Copies an existing file to a new file, disallowing the overwriting of an existing file. A new instance with a fully qualified path. Use this method to prevent overwriting of an existing file by default. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A new instance with a fully qualified path. The name of the new file to copy to. Copies an existing file to a new file, allowing the overwriting of an existing file. Use this method to allow or prevent overwriting of an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A new instance with a fully qualified path. The name of the new file to copy to. to allow an existing file to be overwritten; otherwise, . [AlphaFS] Copies an existing file to a new file, disallowing the overwriting of an existing file. Use this method to prevent overwriting of an existing file by default. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A new instance with a fully qualified path. The name of the new file to copy to. Indicates the format of the path parameter(s). [AlphaFS] Copies an existing file to a new file, allowing the overwriting of an existing file. Use this method to allow or prevent overwriting of an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A new instance with a fully qualified path. The name of the new file to copy to. to allow an existing file to be overwritten; otherwise, . Indicates the format of the path parameter(s). [AlphaFS] Copies an existing file to a new file, allowing the overwriting of an existing file, can be specified. Option is recommended for very large file transfers. Use this method to allow or prevent overwriting of an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A new instance with a fully qualified path. The name of the new file to copy to. that specify how the file is to be copied. [AlphaFS] Copies an existing file to a new file, allowing the overwriting of an existing file, can be specified. Option is recommended for very large file transfers. Use this method to allow or prevent overwriting of an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A new instance with a fully qualified path. The name of the new file to copy to. that specify how the file is to be copied. Indicates the format of the path parameter(s). [AlphaFS] Copies an existing file to a new file, allowing the overwriting of an existing file, can be specified. Option is recommended for very large file transfers. Use this method to allow or prevent overwriting of an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A new instance with a fully qualified path. The name of the new file to copy to. that specify how the file is to be copied. if original Timestamps must be preserved, otherwise. [AlphaFS] Copies an existing file to a new file, allowing the overwriting of an existing file, can be specified. Option is recommended for very large file transfers. Use this method to allow or prevent overwriting of an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A new instance with a fully qualified path. The name of the new file to copy to. that specify how the file is to be copied. if original Timestamps must be preserved, otherwise. Indicates the format of the path parameter(s). [AlphaFS] Copies an existing file to a new file, allowing the overwriting of an existing file, can be specified. and the possibility of notifying the application of its progress through a callback function. Option is recommended for very large file transfers. Use this method to allow or prevent overwriting of an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The name of the new file to copy to. that specify how the file is to be copied. A callback function that is called each time another portion of the file has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . [AlphaFS] Copies an existing file to a new file, allowing the overwriting of an existing file, can be specified. Option is recommended for very large file transfers. Use this method to allow or prevent overwriting of an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The name of the new file to copy to. that specify how the file is to be copied. A callback function that is called each time another portion of the file has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Copies an existing file to a new file, allowing the overwriting of an existing file, can be specified. and the possibility of notifying the application of its progress through a callback function. Option is recommended for very large file transfers. Use this method to allow or prevent overwriting of an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The name of the new file to copy to. that specify how the file is to be copied. if original Timestamps must be preserved, otherwise. A callback function that is called each time another portion of the file has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . [AlphaFS] Copies an existing file to a new file, allowing the overwriting of an existing file, can be specified. and the possibility of notifying the application of its progress through a callback function. Option is recommended for very large file transfers. Use this method to allow or prevent overwriting of an existing file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Copy action. The name of the new file to copy to. that specify how the file is to be copied. if original Timestamps must be preserved, otherwise. A callback function that is called each time another portion of the file has been copied. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). Moves a specified file to a new location, providing the option to specify a new file name. Use this method to prevent overwriting of an existing file by default. This method works across disk volumes. For example, the file c:\MyFile.txt can be moved to d:\public and renamed NewFile.txt. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with details of the Move action. The path to move the file to, which can specify a different file name. [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. Returns a new instance with a fully qualified path when successfully moved, Use this method to prevent overwriting of an existing file by default. This method works across disk volumes. For example, the file c:\MyFile.txt can be moved to d:\public and renamed NewFile.txt. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The path to move the file to, which can specify a different file name. Indicates the format of the path parameter(s). [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name, can be specified. Returns a new instance with a fully qualified path when successfully moved, Use this method to allow or prevent overwriting of an existing file. This method works across disk volumes. For example, the file c:\MyFile.txt can be moved to d:\public and renamed NewFile.txt. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The path to move the file to, which can specify a different file name. that specify how the directory is to be moved. This parameter can be . [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name, can be specified. Returns a new instance with a fully qualified path when successfully moved, Use this method to allow or prevent overwriting of an existing file. This method works across disk volumes. For example, the file c:\MyFile.txt can be moved to d:\public and renamed NewFile.txt. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. The path to move the file to, which can specify a different file name. that specify how the directory is to be moved. This parameter can be . Indicates the format of the path parameter(s). [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name, can be specified, and the possibility of notifying the application of its progress through a callback function. Use this method to allow or prevent overwriting of an existing file. This method works across disk volumes. For example, the file c:\MyFile.txt can be moved to d:\public and renamed NewFile.txt. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with the status of the Move action. The path to move the file to, which can specify a different file name. that specify how the directory is to be moved. This parameter can be . A callback function that is called each time another portion of the directory has been moved. This parameter can be . The argument to be passed to the callback function. This parameter can be . [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name, can be specified. Use this method to allow or prevent overwriting of an existing file. This method works across disk volumes. For example, the file c:\MyFile.txt can be moved to d:\public and renamed NewFile.txt. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with the status of the Move action. The path to move the file to, which can specify a different file name. that specify how the directory is to be moved. This parameter can be . A callback function that is called each time another portion of the directory has been moved. This parameter can be . The argument to be passed to the callback function. This parameter can be . Indicates the format of the path parameter(s). Copy/move an existing file to a new file, allowing the overwriting of an existing file. Option is recommended for very large file transfers. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. A class with the status of the Copy or Move action. A full path string to the destination directory if original Timestamps must be preserved, otherwise. This parameter can be . Use to specify how the file is to be copied. This parameter can be . Use that specify how the file is to be moved. This parameter can be . A callback function that is called each time another portion of the file has been copied. This parameter can be . The argument to be passed to the callback function. [out] Returns the retrieved long full path. Indicates the format of the path parameter(s). Creates a that appends text to the file represented by this instance of the . A new Creates a that appends text to the file represented by this instance of the . The character to use. A new Initializes a new instance of the class, which acts as a wrapper for a file path. The fully qualified name of the new file, or the relative file name. Do not end the path with the directory separator character. This constructor does not check if a file exists. This constructor is a placeholder for a string that is used to access the file in subsequent operations. [AlphaFS] Initializes a new instance of the class, which acts as a wrapper for a file path. The fully qualified name of the new file, or the relative file name. Do not end the path with the directory separator character. Indicates the format of the path parameter(s). This constructor does not check if a file exists. This constructor is a placeholder for a string that is used to access the file in subsequent operations. [AlphaFS] Initializes a new instance of the class, which acts as a wrapper for a file path. The transaction. The fully qualified name of the new file, or the relative file name. Do not end the path with the directory separator character. This constructor does not check if a file exists. This constructor is a placeholder for a string that is used to access the file in subsequent operations. [AlphaFS] Initializes a new instance of the class, which acts as a wrapper for a file path. The transaction. The fully qualified name of the new file, or the relative file name. Do not end the path with the directory separator character. Indicates the format of the path parameter(s). This constructor does not check if a file exists. This constructor is a placeholder for a string that is used to access the file in subsequent operations. Gets an instance of the parent directory. A object representing the parent directory of this file. To get the parent directory as a string, use the DirectoryName property. Gets a string representing the directory's full path. A string representing the directory's full path. To get the parent directory as a DirectoryInfo object, use the Directory property. When first called, FileInfo calls Refresh and caches information about the file. On subsequent calls, you must call Refresh to get the latest copy of the information. Gets a value indicating whether the file exists. if the file exists; otherwise, . The property returns if any error occurs while trying to determine if the specified file exists. This can occur in situations that raise exceptions such as passing a file name with invalid characters or too many characters, a failing or missing disk, or if the caller does not have permission to read the file. Gets or sets a value that determines if the current file is read only. if the current file is read only; otherwise, . Use the IsReadOnly property to quickly determine or change whether the current file is read only. When first called, FileInfo calls Refresh and caches information about the file. On subsequent calls, you must call Refresh to get the latest copy of the information. Gets the size, in bytes, of the current file. The size of the current file in bytes. The value of the Length property is pre-cached To get the latest value, call the Refresh method. Gets the name of the file. The name of the file. The name of the file includes the file extension. When first called, calls Refresh and caches information about the file. On subsequent calls, you must call Refresh to get the latest copy of the information. The name of the file includes the file extension. Specifies how the operating system should open a file. If you pass , the set of attributes is unspecified. explicitly sets no attributes. The file is read only. Applications can read the file, but cannot write to or delete it. Equals 1 The file is hidden. Do not include it in an ordinary directory listing. Equals 2 The file is part of or used exclusively by an operating system. Equals 4 The handle that identifies a directory. Equals 16 The file should be archived. Applications use this attribute to mark files for backup or removal. Equals 32 The file should be archived. Applications use this attribute to mark files for backup or removal. Equals 64 The file does not have other attributes set. This attribute is valid only if used alone. Equals 128 The file is being used for temporary storage. Equals 256 A file that is a sparse file. Equals 512 A file or directory that has an associated reparse point, or a file that is a symbolic link. Equals 1024 A file or directory that is compressed. For a file, all of the data in the file is compressed. For a directory, compression is the default for newly created files and subdirectories. Equals 2048 The data of a file is not immediately available. This attribute indicates that file data is physically moved to offline storage. This attribute is used by Remote Storage, the hierarchical storage management software. Applications should not arbitrarily change this attribute. Equals 4096 The file or directory is not to be indexed by the content indexing service. Equals 8192 The file or directory is encrypted. For a file, this means that all data in the file is encrypted. For a directory, this means that encryption is the default for newly created files and subdirectories. Equals 16384 The directory or user data stream is configured with integrity (only supported on ReFS volumes). It is not included in an ordinary directory listing. The integrity setting persists with the file if it's renamed. If a file is copied the destination file will have integrity set if either the source file or destination directory have integrity set. This flag is not supported until Windows Server 2012. The user data stream not to be read by the background data integrity scanner (AKA scrubber). When set on a directory it only provides inheritance. This flag is only supported on Storage Spaces and ReFS volumes. It is not included in an ordinary directory listing. This flag is not supported until Windows Server 2012. ... The file data is requested, but it should continue to be located in remote storage. It should not be transported back to local storage. This flag is for use by remote storage systems. Normal reparse point processing will not occur; an attempt to open the reparse point will be made. When a file is opened, a file handle is returned, whether or not the filter that controls the reparse point is operational. See MSDN documentation for more information. Access will occur according to POSIX rules. This includes allowing multiple files with names, differing only in case, for file systems that support that naming. Use care when using this option, because files created with this flag may not be accessible by applications that are written for MS-DOS or 16-bit Windows. The file is being opened or created for a backup or restore operation. The system ensures that the calling process overrides file security checks when the process has SE_BACKUP_NAME and SE_RESTORE_NAME privileges. You must set this flag to obtain a handle to a directory. A directory handle can be passed to some functions instead of a file handle. The file is to be deleted immediately after all of its handles are closed, which includes the specified handle and any other open or duplicated handles. If there are existing open handles to a file, the call fails unless they were all opened with the share mode. Subsequent open requests for the file fail, unless the share mode is specified. Equals 67108864 Access is intended to be sequential from beginning to end. The system can use this as a hint to optimize file caching. Equals 134217728 Access is intended to be random. The system can use this as a hint to optimize file caching. Equals 268435456 There are strict requirements for successfully working with files opened with the flag, for details see the section on "File Buffering" in the online MSDN documentation. The file or device is being opened or created for asynchronous I/O. Equals 1073741824 Write operations will not go through any intermediate cache, they will go directly to disk. Equals .NET -2147483648 Class that retrieves file system entries (i.e. files and directories) using Win32 API FindFirst()/FindNext(). Get an enumerator that returns all of the file system objects that match the wildcards that are in any of the directories to be searched. An instance: FileSystemEntryInfo, DirectoryInfo, FileInfo or string (full path). Gets a specific file system object. The return type is based on C# inference. Possible return types are: - (full path), - ( or ), instance or null in case an Exception is raised and is . Gets or sets the ability to return the object as a instance. returns the object as a instance. Gets or sets the ability to return the full path in long full path format. returns the full path in long full path format, returns the full path in regular path format. Gets or sets the ability to return the object instance as a . returns the full path of the object as a Gets the value indicating which to use. Gets or sets the ability to skip on access errors. suppress any Exception that might be thrown as a result from a failure, such as ACLs protected directories or non-accessible reparse points. Gets the file system object type. = Return files and directories. = Return only directories. = Return only files. Gets or sets if the path is an absolute or relative path. Gets a value indicating whether the specified path string contains absolute or relative path information. Gets or sets the initial path to the folder. The initial path to the file or folder in long path format. Gets or sets the path to the folder. The path to the file or folder in long path format. Gets or sets a value indicating which to use. indicates a folder object, indicates a file object. Gets the value indicating which to use. Specifies whether the search should include only the current directory or should include all subdirectories. to all subdirectories. Search for file system object-name using a pattern. The path which has wildcard characters, for example, an asterisk () or a question mark (). skips ReparsePoints, will follow ReparsePoints. Get or sets the KernelTransaction instance. The transaction. Represents information about a file system entry. This class cannot be inherited. Initializes a new instance of the class. The NativeMethods.WIN32_FIND_DATA structure. Gets the 8.3 version of the filename. the 8.3 version of the filename. Gets the attributes. The attributes. Gets the time this entry was created. The time this entry was created. Gets the time, in coordinated universal time (UTC), this entry was created. The time, in coordinated universal time (UTC), this entry was created. Gets the name of the file. The name of the file. Gets the size of the file. The size of the file. The full path of the file system object. Gets a value indicating whether this instance is compressed. if this instance is compressed; otherwise, . It is not possible to change the compression status of a File object by using the SetAttributes method. Instead, you must actually compress the file using either a compression tool or one of the classes in the namespace. Gets a value indicating whether this instance is hidden, and thus is not included in an ordinary directory listing. if this instance is hidden; otherwise, . Gets a value indicating whether this instance represents a directory. if this instance represents a directory; otherwise, . Gets a value indicating whether this instance is encrypted (EFS). if this instance is encrypted (EFS); otherwise, . For a file, this means that all data in the file is encrypted. For a directory, this means that encryption is the default for newly created files and directories. Gets a value indicating whether this instance is a mount point. if this instance is a mount point; otherwise, . Gets a value indicating whether this instance is offline. The data of the file is not immediately available. if this instance is offline; otherwise, . Gets a value indicating whether this instance is read-only. if this instance is read-only; otherwise, . Gets a value indicating whether this instance contains a reparse point, which is a block of user-defined data associated with a file or a directory. if this instance contains a reparse point; otherwise, . Gets a value indicating whether this instance is a symbolic link. if this instance is a symbolic link; otherwise, . Gets the time this entry was last accessed. The time this entry was last accessed. Gets the time, in coordinated universal time (UTC), this entry was last accessed. The time, in coordinated universal time (UTC), this entry was last accessed. Gets the time this entry was last modified. The time this entry was last modified. Gets the time, in coordinated universal time (UTC), this entry was last modified. The time, in coordinated universal time (UTC), this entry was last modified. The full path of the file system object in Unicode (LongPath) format. Gets the reparse point tag of this entry. The reparse point tag of this entry. Gets internal WIN32 FIND Data Returns the of the instance. The instance as a string. Provides the base class for both and objects. Deletes a file or directory. Refreshes the state of the object. FileSystemInfo.Refresh() takes a snapshot of the file from the current file system. Refresh cannot correct the underlying file system even if the file system returns incorrect or outdated information. This can happen on platforms such as Windows 98. Calls must be made to Refresh() before attempting to get the attribute information, or the information will be outdated. Returns a string that represents the current object. ToString is the major formatting method in the .NET Framework. It converts an object to its string representation so that it is suitable for display. A string that represents this instance. Determines whether the specified Object is equal to the current Object. Another object to compare to. if the specified Object is equal to the current Object; otherwise, . Serves as a hash function for a particular type. A hash code for the current Object. Implements the operator == A. B. The result of the operator. Implements the operator != A. B. The result of the operator. Refreshes the state of the EntryInfo instance. FileSystemInfo.RefreshEntryInfo() takes a snapshot of the file from the current file system. Refresh cannot correct the underlying file system even if the file system returns incorrect or outdated information. This can happen on platforms such as Windows 98. Calls must be made to Refresh() before attempting to get the attribute information, or the information will be outdated. [AlphaFS] Resets the state of the file system object to uninitialized. Initializes the specified file name. Specifies that is a file or directory. The transaction. The full path and name of the file. Indicates the format of the path parameter(s). Gets or sets the attributes for the current file or directory. The value of the CreationTime property is pre-cached To get the latest value, call the Refresh method. of the current . Gets or sets the creation time of the current file or directory. The value of the CreationTime property is pre-cached To get the latest value, call the Refresh method. This method may return an inaccurate value, because it uses native functions whose values may not be continuously updated by the operating system. If the file described in the FileSystemInfo object does not exist, this property will return 12:00 midnight, January 1, 1601 A.D. (C.E.) Coordinated Universal Time (UTC), adjusted to local time. NTFS-formatted drives may cache file meta-info, such as file creation time, for a short period of time. This process is known as file tunneling. As a result, it may be necessary to explicitly set the creation time of a file if you are overwriting or replacing an existing file. The creation date and time of the current object. Gets or sets the creation time, in coordinated universal time (UTC), of the current file or directory. The value of the CreationTimeUtc property is pre-cached To get the latest value, call the Refresh method. This method may return an inaccurate value, because it uses native functions whose values may not be continuously updated by the operating system. To get the latest value, call the Refresh method. If the file described in the FileSystemInfo object does not exist, this property will return 12:00 midnight, January 1, 1601 A.D. (C.E.) Coordinated Universal Time (UTC). NTFS-formatted drives may cache file meta-info, such as file creation time, for a short period of time. This process is known as file tunneling. As a result, it may be necessary to explicitly set the creation time of a file if you are overwriting or replacing an existing file. The creation date and time in UTC format of the current object. Gets a value indicating whether the file or directory exists. The property returns if any error occurs while trying to determine if the specified file or directory exists. This can occur in situations that raise exceptions such as passing a directory- or file name with invalid characters or too many characters, a failing or missing disk, or if the caller does not have permission to read the file or directory. if the file or directory exists; otherwise, . Gets the string representing the extension part of the file. The Extension property returns the extension, including the period (.). For example, for a file c:\NewFile.txt, this property returns ".txt". A string containing the extension. Gets the full path of the directory or file. A string containing the full path. Gets or sets the time the current file or directory was last accessed. The value of the LastAccessTime property is pre-cached To get the latest value, call the Refresh method. This method may return an inaccurate value, because it uses native functions whose values may not be continuously updated by the operating system. If the file described in the FileSystemInfo object does not exist, this property will return 12:00 midnight, January 1, 1601 A.D. (C.E.) Coordinated Universal Time (UTC), adjusted to local time. The time that the current file or directory was last accessed. Gets or sets the time, in coordinated universal time (UTC), that the current file or directory was last accessed. The value of the LastAccessTimeUtc property is pre-cached. To get the latest value, call the Refresh method. This method may return an inaccurate value, because it uses native functions whose values may not be continuously updated by the operating system. If the file described in the FileSystemInfo object does not exist, this property will return 12:00 midnight, January 1, 1601 A.D. (C.E.) Coordinated Universal Time (UTC), adjusted to local time. The UTC time that the current file or directory was last accessed. Gets or sets the time when the current file or directory was last written to. The value of the LastWriteTime property is pre-cached. To get the latest value, call the Refresh method. This method may return an inaccurate value, because it uses native functions whose values may not be continuously updated by the operating system. If the file described in the FileSystemInfo object does not exist, this property will return 12:00 midnight, January 1, 1601 A.D. (C.E.) Coordinated Universal Time (UTC), adjusted to local time. The time the current file was last written. Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to. The value of the LastWriteTimeUtc property is pre-cached. To get the latest value, call the Refresh method. This method may return an inaccurate value, because it uses native functions whose values may not be continuously updated by the operating system. If the file described in the FileSystemInfo object does not exist, this property will return 12:00 midnight, January 1, 1601 A.D. (C.E.) Coordinated Universal Time (UTC), adjusted to local time. The UTC time when the current file was last written to. For files, gets the name of the file. For directories, gets the name of the last directory in the hierarchy if a hierarchy exists. Otherwise, the Name property gets the name of the directory. For a directory, Name returns only the name of the parent directory, such as Dir, not c:\Dir. For a subdirectory, Name returns only the name of the subdirectory, such as Sub1, not c:\Dir\Sub1. For a file, Name returns only the file name and file name extension, such as MyFile.txt, not c:\Dir\Myfile.txt. A string that is the name of the parent directory, the name of the last directory in the hierarchy, or the name of a file, including the file name extension. Returns the path as a string. [AlphaFS] Gets the instance of the class. [AlphaFS] The initial "IsDirectory" indicator that was passed to the constructor. The full path of the file system object in Unicode (LongPath) format. [AlphaFS] Represents the KernelTransaction that was passed to the constructor. Represents the fully qualified path of the file or directory. Classes derived from can use the FullPath field to determine the full path of the object being manipulated. The path originally specified by the user, whether relative or absolute. A bitfield of flags for specifying options for various internal operations that convert paths to full paths. No special options applies. Remove any trailing whitespace from the path. Add a trailing directory separator to the path (if one does not already exist). Remove the trailing directory separator from the path (if one exists). Return full path as long full path (Unicode format). Not valid for . Prevents any exception from being thrown if a filesystem object does not exist. Not valid for . Check that the path contains only valid path-characters. Also check for wildcard (? and *) characters. Do not trim the trailing dot or space. Performs both and checks. Performs operations on String instances that contain file or directory path information. These operations are performed in a cross-platform manner. Determines whether a path includes a file name extension. if the characters that follow the last directory separator (\\ or /) or volume separator (:) in the path include a period (.) followed by one or more characters; otherwise, . The path to search for an extension. The path cannot contain any of the characters defined in . Gets a value indicating whether the specified path string contains absolute or relative path information. if contains a root; otherwise, . The IsPathRooted method returns if the first character is a directory separator character such as , or if the path starts with a drive letter and colon (). For example, it returns true for path strings such as "\\MyDir\\MyFile.txt", "C:\\MyDir", or "C:MyDir". It returns for path strings such as "MyDir". This method does not verify that the path or file name exists. The path to test. The path cannot contain any of the characters defined in . [AlphaFS] Gets a value indicating whether the specified path string contains absolute or relative path information. if contains a root; otherwise, . The IsPathRooted method returns true if the first character is a directory separator character such as , or if the path starts with a drive letter and colon (). For example, it returns for path strings such as "\\MyDir\\MyFile.txt", "C:\\MyDir", or "C:MyDir". It returns for path strings such as "MyDir". This method does not verify that the path or file name exists. The path to test. The path cannot contain any of the characters defined in . will check for invalid path characters. [AlphaFS] Check if file or folder name has any invalid characters. File or folder name. if name contains any invalid characters. Otherwise Checks that the given path format is supported. A path to the file or directory. Checks that the path contains only valid path-characters. . Checks that the path contains only valid path-characters. A path to the file or directory. also checks for ? and * characters. When , throws an . Tranlates DosDevicePath, Volume GUID. For example: "\Device\HarddiskVolumeX\path\filename.ext" can translate to: "\path\filename.ext" or: "\\?\Volume{GUID}\path\filename.ext". A translated dos path. A DosDevicePath, for example: \Device\HarddiskVolumeX\path\filename.ext. Alternate path/device text, usually string.Empty or . Check if is a directory- and/or volume-separator character. if is a separator character. The character to check. If , checks for all separator characters: , and If , only checks for: and If only checks for: Changes the extension of a path string. The modified path information. The path information to modify. The path cannot contain any of the characters defined in . The new extension (with or without a leading period). Specify to remove an existing extension from path. Returns the directory information for the specified path string. Directory information for , or if denotes a root directory or is . Returns if does not contain directory information. The path of a file or directory. [AlphaFS] Returns the directory information for the specified path string. Directory information for , or if denotes a root directory or is . Returns if does not contain directory information. The path of a file or directory. will check for invalid path characters. [AlphaFS] Returns the directory information for the specified path string without the root information, for example: "C:\Windows\system32" returns: "Windows". The without the file name part and without the root information (if any), or if is or if denotes a root (such as "\", "C:", or * "\\server\share"). The path. [AlphaFS] Returns the directory information for the specified path string without the root information, for example: "C:\Windows\system32" returns: "Windows". The without the file name part and without the root information (if any), or if is or if denotes a root (such as "\", "C:", or * "\\server\share"). The transaction. The path. Returns the extension of the specified path string. The extension of the specified path (including the period "."), or null, or . If is null, this method returns null. If does not have extension information, this method returns . The path string from which to get the extension. The path cannot contain any of the characters defined in . Returns the extension of the specified path string. The extension of the specified path (including the period "."), or null, or . If is null, this method returns null. If does not have extension information, this method returns . The path string from which to get the extension. The path cannot contain any of the characters defined in . will check for invalid path characters. Returns the file name and extension of the specified path string. The characters after the last directory character in . If the last character of is a directory or volume separator character, this method returns string.Empty. If path is null, this method returns null. The path string from which to obtain the file name and extension. The path cannot contain any of the characters defined in . [AlphaFS] Returns the file name and extension of the specified path string. The characters after the last directory character in . If the last character of is a directory or volume separator character, this method returns string.Empty. If path is null, this method returns null. The path string from which to obtain the file name and extension. will check for invalid path characters. Returns the file name of the specified path string without the extension. The string returned by GetFileName, minus the last period (.) and all characters following it. The path of the file. The path cannot contain any of the characters defined in . [AlphaFS] Returns the file name of the specified path string without the extension. The string returned by GetFileName, minus the last period (.) and all characters following it. The path of the file. The path cannot contain any of the characters defined in . will check for invalid path characters. Gets an array containing the characters that are not allowed in file names. An array containing the characters that are not allowed in file names. Gets an array containing the characters that are not allowed in path names. An array containing the characters that are not allowed in path names. Gets the root directory information of the specified path. Returns the root directory of , such as "C:\", or if is , or an empty string if does not contain root directory information. The path from which to obtain root directory information. [AlphaFS] Gets the root directory information of the specified path. Returns the root directory of , such as "C:\", or if is , or an empty string if does not contain root directory information. The path from which to obtain root directory information. will check for invalid path characters. [AlphaFS] Retrieves the final path for the specified file, formatted as . The final path as a string. A final path is the path that is returned when a path is fully resolved. For example, for a symbolic link named "C:\tmp\mydir" that points to "D:\yourdir", the final path would be "D:\yourdir". Then handle to a instance. [AlphaFS] Retrieves the final path for the specified file, formatted as . The final path as a string. A final path is the path that is returned when a path is fully resolved. For example, for a symbolic link named "C:\tmp\mydir" that points to "D:\yourdir", the final path would be "D:\yourdir". Then handle to a instance. The final path, formatted as Retrieves the final path for the specified file, formatted as . The final path as a string. A final path is the path that is returned when a path is fully resolved. For example, for a symbolic link named "C:\tmp\mydir" that points to "D:\yourdir", the final path would be "D:\yourdir". The string that is returned by this function uses the syntax. Then handle to a instance. The final path, formatted as Combines an array of strings into a path. The combined paths. An array of parts of the path. Combines an array of strings into a path. The combined paths. The parameters are not parsed if they have white space. Therefore, if path2 includes white space (for example, " c:\\ "), the Combine method appends path2 to path1 instead of returning only path2. will not check for invalid path characters. An array of parts of the path. AltDirectorySeparatorChar = '/' Provides a platform-specific alternate character used to separate directory levels in a path string that reflects a hierarchical file system organization. DirectorySeparatorChar = '\' Provides a platform-specific character used to separate directory levels in a path string that reflects a hierarchical file system organization. PathSeparator = ';' A platform-specific separator character used to separate path strings in environment variables. VolumeSeparatorChar = ':' Provides a platform-specific Volume Separator character. [AlphaFS] AltDirectorySeparatorChar = "/" Provides a platform-specific alternate string used to separate directory levels in a path string that reflects a hierarchical file system organization. [AlphaFS] CurrentDirectoryPrefix = '.' Provides a current directory character. [AlphaFS] CurrentDirectoryPrefix = "." Provides a current directory string. [AlphaFS] DirectorySeparator = "\" Provides a platform-specific string used to separate directory levels in a path string that reflects a hierarchical file system organization. [AlphaFS] ExtensionSeparatorChar = '.' Provides an Extension Separator character. [AlphaFS] ParentDirectoryPrefix = ".." Provides a parent directory string. [AlphaFS] StreamSeparator = ':' Provides a platform-specific Stream-name character. [AlphaFS] StreamSeparator = ':' Provides a platform-specific Stream-name character. [AlphaFS] StreamDataLabel = ':$DATA' Provides a platform-specific Stream :$DATA label. [AlphaFS] StringTerminatorChar = '\0' String Terminator Suffix. [AlphaFS] Characters to trim from the SearchPattern. [AlphaFS] VolumeSeparatorChar = ':' Provides a platform-specific Volume Separator character. [AlphaFS] WildcardStarMatchAll = "*" Provides a match-all-items string. [AlphaFS] WildcardStarMatchAll = '*' Provides a match-all-items character. [AlphaFS] WildcardQuestion = "?" Provides a replace-item string. [AlphaFS] WildcardQuestion = '?' Provides a replace-item string. [AlphaFS] UncPrefix = "\\" Provides standard Windows Path UNC prefix. [AlphaFS] LongPathPrefix = "\\?\" Provides standard Windows Long Path prefix. [AlphaFS] LongPathUncPrefix = "\\?\UNC\" Provides standard Windows Long Path UNC prefix. [AlphaFS] GlobalRootPrefix = "\\?\GLOBALROOT\" Provides standard Windows Volume prefix. [AlphaFS] MsDosNamespacePrefix = "\\.\" Provides standard logical drive prefix. [AlphaFS] SubstitutePrefix = "\??\" Provides a SUBST.EXE Path prefix to a Logical Drive. [AlphaFS] VolumePrefix = "\\?\Volume" Provides standard Windows Volume prefix. [AlphaFS] DevicePrefix = "\Device\" Provides standard Windows Device prefix. [AlphaFS] DosDeviceLanmanPrefix = "\Device\LanmanRedirector\" Provides a MS-Dos Lanman Redirector Path UNC prefix to a network share. [AlphaFS] DosDeviceMupPrefix = "\Device\Mup\" Provides a MS-Dos Mup Redirector Path UNC prefix to a network share. [AlphaFS] DosDeviceUncPrefix = "\??\UNC\" Provides a SUBST.EXE Path UNC prefix to a network share. Returns the absolute path for the specified path string. The fully qualified location of path, such as "C:\MyFile.txt". GetFullPathName merges the name of the current drive and directory with a specified file name to determine the full path and file name of a specified file. It also calculates the address of the file name portion of the full path and file name.   This method does not verify that the resulting path and file name are valid, or that they see an existing file on the associated volume. The .NET Framework does not support direct access to physical disks through paths that are device names, such as "\\.\PHYSICALDRIVE0".   MSDN: Multithreaded applications and shared library code should not use the GetFullPathName function and should avoid using relative path names. The current directory state written by the SetCurrentDirectory function is stored as a global variable in each process, therefore multithreaded applications cannot reliably use this value without possible data corruption from other threads that may also be reading or setting this value. This limitation also applies to the SetCurrentDirectory and GetCurrentDirectory functions. The exception being when the application is guaranteed to be running in a single thread, for example parsing file names from the command line argument string in the main thread prior to creating any additional threads. Using relative path names in multithreaded applications or shared library code can yield unpredictable results and is not supported. The file or directory for which to obtain absolute path information. Returns the absolute path for the specified path string. The fully qualified location of path, such as "C:\MyFile.txt". GetFullPathName merges the name of the current drive and directory with a specified file name to determine the full path and file name of a specified file. It also calculates the address of the file name portion of the full path and file name.   This method does not verify that the resulting path and file name are valid, or that they see an existing file on the associated volume. The .NET Framework does not support direct access to physical disks through paths that are device names, such as "\\.\PHYSICALDRIVE0".   MSDN: Multithreaded applications and shared library code should not use the GetFullPathName function and should avoid using relative path names. The current directory state written by the SetCurrentDirectory function is stored as a global variable in each process, therefore multithreaded applications cannot reliably use this value without possible data corruption from other threads that may also be reading or setting this value. This limitation also applies to the SetCurrentDirectory and GetCurrentDirectory functions. The exception being when the application is guaranteed to be running in a single thread, for example parsing file names from the command line argument string in the main thread prior to creating any additional threads. Using relative path names in multithreaded applications or shared library code can yield unpredictable results and is not supported. The file or directory for which to obtain absolute path information. Options for controlling the full path retrieval. [AlphaFS] Returns the absolute path for the specified path string. The fully qualified location of path, such as "C:\MyFile.txt". GetFullPathName merges the name of the current drive and directory with a specified file name to determine the full path and file name of a specified file. It also calculates the address of the file name portion of the full path and file name.   This method does not verify that the resulting path and file name are valid, or that they see an existing file on the associated volume. The .NET Framework does not support direct access to physical disks through paths that are device names, such as "\\.\PHYSICALDRIVE0".   MSDN: Multithreaded applications and shared library code should not use the GetFullPathName function and should avoid using relative path names. The current directory state written by the SetCurrentDirectory function is stored as a global variable in each process, therefore multithreaded applications cannot reliably use this value without possible data corruption from other threads that may also be reading or setting this value. This limitation also applies to the SetCurrentDirectory and GetCurrentDirectory functions. The exception being when the application is guaranteed to be running in a single thread, for example parsing file names from the command line argument string in the main thread prior to creating any additional threads. Using relative path names in multithreaded applications or shared library code can yield unpredictable results and is not supported. The transaction. The file or directory for which to obtain absolute path information. [AlphaFS] Returns the absolute path for the specified path string. The fully qualified location of path, such as "C:\MyFile.txt". GetFullPathName merges the name of the current drive and directory with a specified file name to determine the full path and file name of a specified file. It also calculates the address of the file name portion of the full path and file name.   This method does not verify that the resulting path and file name are valid, or that they see an existing file on the associated volume. The .NET Framework does not support direct access to physical disks through paths that are device names, such as "\\.\PHYSICALDRIVE0".   MSDN: Multithreaded applications and shared library code should not use the GetFullPathName function and should avoid using relative path names. The current directory state written by the SetCurrentDirectory function is stored as a global variable in each process, therefore multithreaded applications cannot reliably use this value without possible data corruption from other threads that may also be reading or setting this value. This limitation also applies to the SetCurrentDirectory and GetCurrentDirectory functions. The exception being when the application is guaranteed to be running in a single thread, for example parsing file names from the command line argument string in the main thread prior to creating any additional threads. Using relative path names in multithreaded applications or shared library code can yield unpredictable results and is not supported. The transaction. The file or directory for which to obtain absolute path information. Options for controlling the full path retrieval. Retrieves the absolute path for the specified string. The fully qualified location of , such as "C:\MyFile.txt". GetFullPathName merges the name of the current drive and directory with a specified file name to determine the full path and file name of a specified file. It also calculates the address of the file name portion of the full path and file name.   This method does not verify that the resulting path and file name are valid, or that they see an existing file on the associated volume. The .NET Framework does not support direct access to physical disks through paths that are device names, such as "\\.\PHYSICALDRIVE0".   MSDN: Multithreaded applications and shared library code should not use the GetFullPathName function and should avoid using relative path names. The current directory state written by the SetCurrentDirectory function is stored as a global variable in each process, therefore multithreaded applications cannot reliably use this value without possible data corruption from other threads that may also be reading or setting this value. This limitation also applies to the SetCurrentDirectory and GetCurrentDirectory functions. The exception being when the application is guaranteed to be running in a single thread, for example parsing file names from the command line argument string in the main thread prior to creating any additional threads. Using relative path names in multithreaded applications or shared library code can yield unpredictable results and is not supported. The transaction. The file or directory for which to obtain absolute path information. Options for controlling the full path retrieval. Applies the to with applied . [AlphaFS] Adds a trailing character to the string, when absent. A text string with a trailing character. The function returns when is . A text string to which the trailing is to be added, when absent. [AlphaFS] Adds a trailing or character to the string, when absent. A text string with a trailing or character. The function returns when is . A text string to which the trailing or is to be added, when absent. If the character will be added instead. [AlphaFS] Removes the trailing character from the string, when present. A text string where the trailing character has been removed. The function returns when is . A text string from which the trailing is to be removed, when present. [AlphaFS] Removes the trailing or character from the string, when present. A text string where the trailing or character has been removed. The function returns when is . A text string from which the trailing or is to be removed, when present. If the trailing character will be removed instead. [AlphaFS] Returns the directory information for the specified with a trailing character. The suffixed directory information for the specified with a trailing character, or if is or if denotes a root (such as "\", "C:", or * "\\server\share"). This method is similar to calling Path.GetDirectoryName() + Path.AddTrailingDirectorySeparator() The path. [AlphaFS] Returns the directory information for the specified with a trailing character. The suffixed directory information for the specified with a trailing character, or if is or if denotes a root (such as "\", "C:", or * "\\server\share"). This method is similar to calling Path.GetDirectoryName() + Path.AddTrailingDirectorySeparator() The transaction. The path. [AlphaFS] Returns the directory information for the specified without the root and with a trailing character. The directory information for the specified without the root and with a trailing character, or if is or if is . The path. [AlphaFS] Returns the directory information for the specified without the root and with a trailing character. The directory information for the specified without the root and with a trailing character, or if is or if is . The transaction. The path. Returns the directory information for the specified with a trailing character. The suffixed directory information for the specified with a trailing character, or if is or if denotes a root (such as "\", "C:", or * "\\server\share"). This method is similar to calling Path.GetDirectoryName() + Path.AddTrailingDirectorySeparator() The transaction. The path. Returns the directory information for the specified without the root and with a trailing character. The directory information for the specified without the root and with a trailing character, or if is or if is . The transaction. The path. [AlphaFS] Gets the connection name of the locally mapped drive. The server and share as: \\servername\sharename. The local path with drive name. [AlphaFS] Gets the network share name from the locally mapped path. The network share connection name of . The local path with drive name. [AlphaFS] Determines if a path string is a valid Universal Naming Convention (UNC) path. if the specified path is a Universal Naming Convention (UNC) path, otherwise. The path to check. [AlphaFS] Determines if a path string is a valid Universal Naming Convention (UNC) path, optionally skip invalid path character check. if the specified path is a Universal Naming Convention (UNC) path, otherwise. The path to check. will check for invalid path characters. [AlphaFS] Converts a local path to a network share path. A Local path, e.g.: "C:\Windows" will be returned as: "\\MachineName\C$\Windows". If a logical drive points to a network share path, the share path will be returned instead. On successful conversion a UNC path is returned. If the conversion fails, is returned. If is an empty string or , is returned. A local path, e.g.: "C:\Windows". [AlphaFS] Converts a local path to a network share path, optionally returning it in a long path format. A Local path, e.g.: "C:\Windows" will be returned as: "\\MachineName\C$\Windows". If a logical drive points to a network share path, the share path will be returned instead. On successful conversion a UNC path is returned. If the conversion fails, is returned. If is an empty string or , is returned. A local path, e.g.: "C:\Windows". returns the path in long path (Unicode) format, when returns the path as a regular path. [AlphaFS] Converts a local path to a network share path, optionally returning it in a long path format and the ability to add or remove a trailing backslash. A Local path, e.g.: "C:\Windows" will be returned as: "\\MachineName\C$\Windows". If a logical drive points to a network share path, the share path will be returned instead. On successful conversion a UNC path is returned. If the conversion fails, is returned. If is an empty string or , is returned. A local path, e.g.: "C:\Windows". returns the path in long path (Unicode) format, when returns the path as a regular path. adds a trailing character to , when absent. removes the trailing character from , when present. [AlphaFS] Determines if a path string is a valid Universal Naming Convention (UNC) path, optionally skip invalid path character check. if the specified path is a Universal Naming Convention (UNC) path, otherwise. The path to check. When indicates that is already in regular path format. will check for invalid path characters. Converts a local path to a network share path. A Local path, e.g.: "C:\Windows" will be returned as: "\\MachineName\C$\Windows". If a logical drive points to a network share path, the share path will be returned instead. On successful conversion a UNC path is returned. If the conversion fails, is returned. If is an empty string or , is returned. A local path, e.g.: "C:\Windows". returns the path in long path (Unicode) format, when returns the path as a regular path. adds a trailing character to , when absent. removes the trailing character from , when present. Makes an extended long path from the specified by prefixing . The prefixed with a , the minimum required full path is: "C:\". This method does not verify that the resulting path and file name are valid, or that they see an existing file on the associated volume. The path to the file or directory, this can also be an UNC path. [AlphaFS] Converts the specified existing path to its regular long form. An existing path to a folder or file. The regular full path. [AlphaFS] Converts the specified existing path to its regular long form. The transaction. An existing path to a folder or file. The regular full path. [AlphaFS] Gets the regular path from long prefixed one. i.e.: "\\?\C:\Temp\file.txt" to C:\Temp\file.txt" or: "\\?\UNC\Server\share\file.txt" to "\\Server\share\file.txt". Regular form path string. This method does not handle paths with volume names, eg. \\?\Volume{GUID}\Folder\file.txt. The path. [AlphaFS] Retrieves the short path form of the specified path. A path that has the 8.3 path form. Will fail on NTFS volumes with disabled 8.3 name generation. The path must actually exist to be able to get the short path name. An existing path to a folder or file. [AlphaFS] Retrieves the short path form of the specified path. A path that has the 8.3 path form. Will fail on NTFS volumes with disabled 8.3 name generation. The path must actually exist to be able to get the short path name. The transaction. An existing path to a folder or file. [AlphaFS] Determines whether the specified path starts with a or . if the specified path has a long path (UNC) prefix, otherwise. The path to the file or directory. Makes an extended long path from the specified by prefixing . The prefixed with a , the minimum required full path is: "C:\". This method does not verify that the resulting path and file name are valid, or that they see an existing file on the associated volume. The path to the file or directory, this can also be an UNC path. Options for controlling the full path retrieval. Retrieves the short path form, or the regular long form of the specified . If is , a path of the 8.3 form otherwise the regular long form. Will fail on NTFS volumes with disabled 8.3 name generation. The path must actually exist to be able to get the short- or long path name. The transaction. An existing path to a folder or file. to retrieve the short path form, to retrieve the regular long form from the 8.3 . Gets the regular path from a long path. Returns the regular form of a long . For example: "\\?\C:\Temp\file.txt" to: "C:\Temp\file.txt", or: "\\?\UNC\Server\share\file.txt" to: "\\Server\share\file.txt". MSDN: String.TrimEnd Method notes to Callers: http://msdn.microsoft.com/en-us/library/system.string.trimend%28v=vs.110%29.aspx The path. Options for controlling the full path retrieval. When , throws an . Gets the path as a long full path. The path as an extended length path. The transaction. Full pathname of the source path to convert. The path format to use. Options for controlling the operation. Note that on .NET 3.5 the TrimEnd option has no effect. Returns a random folder name or file name. A random folder name or file name. Creates a uniquely named, zero-byte temporary file on disk and returns the full path of that file. The full path of the temporary file. Returns the path of the current user's temporary folder. The path to the temporary folder, ending with a backslash. [AlphaFS] Returns the path of the current user's temporary folder. The folder name to append to the temporary folder. The path to the temporary folder, combined with . Represents a wrapper class for a handle used by the CM_Connect_Machine/CM_Disconnect_Machine Win32 API functions. Initializes a new instance of the class. Represents a wrapper class for a handle used by the FindFirstFile/FindNextFile Win32 API functions. Constructor that prevents a default instance of this class from being created. Constructor that prevents a default instance of this class from being created. The handle. true to reliably release the handle during the finalization phase; false to prevent reliable release (not recommended). When overridden in a derived class, executes the code required to free the handle. if the handle is released successfully; otherwise, in the event of a catastrophic failure, . In this case, it generates a ReleaseHandleFailed Managed Debugging Assistant. Contains Shell32 information about a file. Initializes a Shell32Info instance. Shell32 is limited to MAX_PATH length. This constructor does not check if a file exists. This constructor is a placeholder for a string that is used to access the file in subsequent operations. The fully qualified name of the new file, or the relative file name. Do not end the path with the directory separator character. Initializes a Shell32Info instance. Shell32 is limited to MAX_PATH length. This constructor does not check if a file exists. This constructor is a placeholder for a string that is used to access the file in subsequent operations. The fully qualified name of the new file, or the relative file name. Do not end the path with the directory separator character. Indicates the format of the path parameter(s). Gets an handle to the Shell icon that represents the file. Icon size or . Can also be combined with and others. An handle to the Shell icon that represents the file. Caller is responsible for destroying this handle with DestroyIcon() when no longer needed. Gets the Shell command association from the registry. The shell verb. Returns the associated file- or protocol-related Shell command from the registry or string.Empty if no association can be found. Refreshes the state of the object. Returns the path as a string. The path. Gets the Shell file or protocol association from the registry. The attributes of the file object. Gets the Shell command association from the registry. Gets the Shell command association from the registry. Gets the Shell DDE association from the registry. Gets the Shell default icon association from the registry. Represents the fully qualified path of the file. Gets the Shell friendly application name association from the registry. Gets the Shell friendly document name association from the registry. Reflects the initialization state of the instance. Gets the Shell "Open With" command association from the registry. Class for CopyMoveResult that contains the results for the Copy or Move action. Create a CopyMoveResult class instance for the Copy or Move action. Indicates the source file or directory. Indicates the destination file or directory. Indicates if the action was canceled. The error code encountered during the Copy or Move action. The error code encountered during the Copy or Move action. 0 (zero) indicates success. The error message from the that was encountered during the Copy or Move action. A message describing the error. When true indicates that the Copy or Move action was canceled. when the Copy/Move action was canceled. Otherwise . Indicates the source file or directory. Indicates the destination file or directory. The total number of folders copied. The total number of files copied. The total number of bytes copied. Information about the target of a symbolic link or mount point. The print name. The substitute name. Used by MoveFileXxx.Flags that specify how a file or directory is to be moved. No MoveOptions used, this fails when the file name already exists. MOVE_FILE_REPLACE_EXISTSING If the destination file name already exists, the function replaces its contents with the contents of the source file. This value cannot be used if lpNewFileName or lpExistingFileName names a directory. This value cannot be used if either source or destination names a directory. MOVE_FILE_COPY_ALLOWED If the file is to be moved to a different volume, the function simulates the move by using the CopyFile and DeleteFile functions. This value cannot be used with . MOVE_FILE_DELAY_UNTIL_REBOOT The system does not move the file until the operating system is restarted. The system moves the file immediately after AUTOCHK is executed, but before creating any paging files. Consequently, this parameter enables the function to delete paging files from previous startups. This value can only be used if the process is in the context of a user who belongs to the administrators group or the LocalSystem account. This value cannot be used with . MOVE_FILE_WRITE_THROUGH The function does not return until the file has actually been moved on the disk. Setting this value guarantees that a move performed as a copy and delete operation is flushed to disk before the function returns. The flush occurs at the end of the copy operation. This value has no effect if is set. MOVE_FILE_CREATE_HARDLINK Reserved for future use. MOVE_FILE_FAIL_IF_NOT_TRACKABLE The function fails if the source file is a link source, but the file cannot be tracked after the move. This situation can occur if the destination is a volume formatted with the FAT file system. The file or directory was not a reparse point. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. The message. The inner exception. Initializes a new instance of the class. The info. The context. Provides access to a file system object, using Shell32. Provides information for the IQueryAssociations interface methods, used by Shell32. None. Instructs not to map CLSID values to ProgID values. Identifies the value of the supplied file parameter (3rd parameter of function GetFileAssociation()) as an executable file name. If this flag is not set, the root key will be set to the ProgID associated with the .exe key instead of the executable file's ProgID. Specifies that when an IQueryAssociation method does not find the requested value under the root key, it should attempt to retrieve the comparable value from the * subkey. Specifies that when an IQueryAssociation method does not find the requested value under the root key, it should attempt to retrieve the comparable value from the Folder subkey. Specifies that only HKEY_CLASSES_ROOT should be searched, and that HKEY_CURRENT_USER should be ignored. Specifies that the return string should not be truncated. Instead, return an error value and the required size for the complete string. Instructs IQueryAssociations methods to verify that data is accurate. This setting allows IQueryAssociations methods to read data from the user's hard disk for verification. For example, they can check the friendly name in the registry against the one stored in the .exe file. Setting this flag typically reduces the efficiency of the method. Instructs IQueryAssociations methods to ignore Rundll.exe and return information about its target. Typically IQueryAssociations methods return information about the first .exe or .dll in a command string. If a command uses Rundll.exe, setting this flag tells the method to ignore Rundll.exe and return information about its target. Instructs IQueryAssociations methods not to fix errors in the registry, such as the friendly name of a function not matching the one found in the .exe file. Specifies that the BaseClass value should be ignored. Specifies that the "Unknown" ProgID should be ignored; instead, fail. Introduced in Windows 7. Specifies that the supplied ProgID should be mapped using the system defaults, rather than the current user defaults. Introduced in Windows 8. Specifies that the value is a protocol, and should be mapped using the current user defaults. Introduced in Windows 8. ASSOCSTR enumeration - Used by the AssocQueryString() function to define the type of string that is to be returned. None. A command string associated with a Shell verb. An executable from a Shell verb command string. For example, this string is found as the (Default) value for a subkey such as HKEY_CLASSES_ROOT\ApplicationName\shell\Open\command. If the command uses Rundll.exe, set the flag in the attributes parameter of IQueryAssociations::GetString to retrieve the target executable. The friendly name of a document type. The friendly name of an executable file. Ignore the information associated with the open subkey. Look under the ShellNew subkey. A template for DDE commands. The DDE command to use to create a process. The application name in a DDE broadcast. The topic name in a DDE broadcast. Corresponds to the InfoTip registry value. Returns an info tip for an item, or list of properties in the form of an IPropertyDescriptionList from which to create an info tip, such as when hovering the cursor over a file name. The list of properties can be parsed with PSGetPropertyDescriptionListFromString. Corresponds to the QuickTip registry value. This is the same as , except that it always returns a list of property names in the form of an IPropertyDescriptionList. The difference between this value and is that this returns properties that are safe for any scenario that causes slow property retrieval, such as offline or slow networks. Some of the properties returned from might not be appropriate for slow property retrieval scenarios. The list of properties can be parsed with PSGetPropertyDescriptionListFromString. Corresponds to the TileInfo registry value. Contains a list of properties to be displayed for a particular file type in a Windows Explorer window that is in tile view. This is the same as , but, like , it also returns a list of property names in the form of an IPropertyDescriptionList. The list of properties can be parsed with PSGetPropertyDescriptionListFromString. Describes a general type of MIME file association, such as image and bmp, so that applications can make general assumptions about a specific file type. Returns the path to the icon resources to use by default for this association. Positive numbers indicate an index into the dll's resource table, while negative numbers indicate a resource ID. An example of the syntax for the resource is "c:\myfolder\myfile.dll,-1". For an object that has a Shell extension associated with it, you can use this to retrieve the CLSID of that Shell extension object by passing a string representation of the IID of the interface you want to retrieve as the pwszExtra parameter of IQueryAssociations::GetString. For example, if you want to retrieve a handler that implements the IExtractImage interface, you would specify "{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}", which is the IID of IExtractImage. For a verb invoked through COM and the IDropTarget interface, you can use this flag to retrieve the IDropTarget object's CLSID. This CLSID is registered in the DropTarget subkey. The verb is specified in the supplied file parameter in the call to IQueryAssociations::GetString. For a verb invoked through COM and the IExecuteCommand interface, you can use this flag to retrieve the IExecuteCommand object's CLSID. This CLSID is registered in the verb's command subkey as the DelegateExecute entry. The verb is specified in the supplied file parameter in the call to IQueryAssociations::GetString. (No description available on MSDN) Introduced in Windows 8. The maximum defined value, used for validation purposes. Shell32 FileAttributes structure, used to retrieve the different types of a file system object. 0x000000000 - Get file system object large icon. The flag must also be set. 0x000000001 - Get file system object small icon. The flag must also be set. 0x000000002 - Get file system object open icon. A container object displays an open icon to indicate that the container is open. The and/or flag must also be set. 0x000000004 - Get file system object Shell-sized icon. If this attribute is not specified the function sizes the icon according to the system metric values. 0x000000008 - Get file system object by its PIDL. Indicate that the given file contains the address of an ITEMIDLIST structure rather than a path name. 0x000000010 - Indicates that the given file should not be accessed. Rather, it should act as if the given file exists and use the supplied attributes. This flag cannot be combined with the , or attributes. 0x000000020 - Apply the appropriate overlays to the file's icon. The flag must also be set. 0x000000040 - Returns the index of the overlay icon. The value of the overlay index is returned in the upper eight bits of the iIcon member of the structure specified by psfi. 0x000000100 - Retrieve the handle to the icon that represents the file and the index of the icon within the system image list. The handle is copied to the member of the structure, and the index is copied to the member. 0x000000200 - Retrieve the display name for the file. The name is copied to the member of the structure. The returned display name uses the long file name, if there is one, rather than the 8.3 form of the file name. 0x000000400 - Retrieve the string that describes the file's type. 0x000000800 - Retrieve the item attributes. The attributes are copied to the member of the structure. Will touch every file, degrading performance. 0x000001000 - Retrieve the name of the file that contains the icon representing the file specified by pszPath. The name of the file containing the icon is copied to the member of the structure. The icon's index is copied to that structure's member. 0x000002000 - Retrieve the type of the executable file if pszPath identifies an executable file. This flag cannot be specified with any other attributes. 0x000004000 - Retrieve the index of a system image list icon. 0x000008000 - Add the link overlay to the file's icon. The flag must also be set. 0x000010000 - Blend the file's icon with the system highlight color. 0x000020000 - Modify to indicate that contains specific attributes that are desired. This flag cannot be specified with the attribute. Will touch every file, degrading performance. SHFILEINFO structure, contains information about a file system object. A handle to the icon that represents the file. Caller is responsible for destroying this handle with DestroyIcon() when no longer needed. The index of the icon image within the system image list. An array of values that indicates the attributes of the file object. The name of the file as it appears in the Windows Shell, or the path and file name of the file that contains the icon representing the file. The type of file. SFGAO - Attributes that can be retrieved from a file system object. 0x00000000 - None. 0x00000001 - The specified items can be copied. 0x00000002 - The specified items can be moved. 0x00000004 - Shortcuts can be created for the specified items. 0x00000008 - The specified items can be bound to an IStorage object through IShellFolder::BindToObject. For more information about namespace manipulation capabilities, see IStorage. 0x00000010 - The specified items can be renamed. Note that this value is essentially a suggestion; not all namespace clients allow items to be renamed. However, those that do must have this attribute set. 0x00000020 - The specified items can be deleted. 0x00000040 - The specified items have property sheets. 0x00000100 - The specified items are drop targets. 0x00001000 - The specified items are system items. Windows 7 and later. 0x00002000 - The specified items are encrypted and might require special presentation. 0x00004000 - Accessing the item (through IStream or other storage interfaces) is expected to be a slow operation. 0x00008000 - The specified items are shown as dimmed and unavailable to the user. 0x00010000 - The specified items are shortcuts. 0x00020000 - The specified objects are shared. 0x00040000 - The specified items are read-only. In the case of folders, this means that new items cannot be created in those folders. 0x00080000 - The item is hidden and should not be displayed unless the Show hidden files and folders option is enabled in Folder Settings. 0x00100000 - The items are nonenumerated items and should be hidden. They are not returned through an enumerator such as that created by the IShellFolder::EnumObjects method. 0x00200000 - The items contain new content, as defined by the particular application. 0x00400000 - Indicates that the item has a stream associated with it. 0x00800000 - Children of this item are accessible through IStream or IStorage. 0x01000000 - When specified as input, instructs the folder to validate that the items contained in a folder or Shell item array exist. 0x02000000 - The specified items are on removable media or are themselves removable devices. 0x04000000 - The specified items are compressed. 0x08000000 - The specified items can be hosted inside a web browser or Windows Explorer frame. 0x10000000 - The specified folders are either file system folders or contain at least one descendant (child, grandchild, or later) that is a file system folder. 0x20000000 - The specified items are folders. 0x40000000 - The specified folders or files are part of the file system (that is, they are files, directories, or root directories). 0x80000000 - The specified folders have subfolders. Used by method UrlIs() to define a URL type. Is the URL valid? Is the URL opaque? Is the URL a URL that is not typically tracked in navigation history? Is the URL a file URL? Attempt to determine a valid scheme for the URL. Does the URL string end with a directory? Does the URL have an appended query string? Destroys an icon and frees any memory the icon occupied. An handle to an icon. Gets the file or protocol that is associated with from the registry. A path to the file. The associated file- or protocol-related string from the registry or string.Empty if no association can be found. Gets the content-type that is associated with from the registry. A path to the file. The associated file- or protocol-related content-type from the registry or string.Empty if no association can be found. Gets the default icon that is associated with from the registry. A path to the file. The associated file- or protocol-related default icon from the registry or string.Empty if no association can be found. Gets the friendly application name that is associated with from the registry. A path to the file. The associated file- or protocol-related friendly application name from the registry or string.Empty if no association can be found. Gets the friendly document name that is associated with from the registry. A path to the file. The associated file- or protocol-related friendly document name from the registry or string.Empty if no association can be found. Gets an handle to the Shell icon that represents the file. Caller is responsible for destroying this handle with DestroyIcon() when no longer needed. The path to the file system object which should not exceed maximum path length. Both absolute and relative paths are valid. Icon size or . Can also be combined with and others. An handle to the Shell icon that represents the file, or IntPtr.Zero on failure. Retrieves information about an object in the file system, such as a file, folder, directory, or drive root. A struct instance. You should call this function from a background thread. Failure to do so could cause the UI to stop responding. Unicode path are supported. The path to the file system object which should not exceed the maximum path length. Both absolute and relative paths are valid. A attribute. One ore more attributes. suppress any Exception that might be thrown as a result from a failure, such as ACLs protected directories or non-accessible reparse points. Retrieves an instance of containing information about the specified file. A path to the file. A class instance. Retrieves an instance of containing information about the specified file. A path to the file. Indicates the format of the path parameter(s). A class instance. Gets the "Open With" command that is associated with from the registry. A path to the file. The associated file- or protocol-related "Open With" command from the registry or string.Empty if no association can be found. Gets the Shell command that is associated with from the registry. A path to the file. The associated file- or protocol-related Shell command from the registry or string.Empty if no association can be found. Converts a file URL to a Microsoft MS-DOS path. The file URL. The Microsoft MS-DOS path. If no path can be created, string.Empty is returned. If is , will also be returned. Creates a path from a file URL. The URL. The file path. If no path can be created, string.Empty is returned. If is , will also be returned. Determines whether a path to a file system object such as a file or folder is valid. The full path of maximum length the maximum path length to the object to verify. if the file exists; otherwise Tests whether a URL is a specified type. The URL. For all but one of the URL types, UrlIs returns if the URL is the specified type, or otherwise. If UrlIs is set to , UrlIs will attempt to determine the URL scheme. If the function is able to determine a scheme, it returns , or otherwise. Converts a Microsoft MS-DOS path to a canonicalized URL. The full MS-DOS path of maximum length . The URL. If no URL can be created string.Empty is returned. If is , will also be returned. Tests a URL to determine if it is a file URL. The URL. if the URL is a file URL, or otherwise. Returns whether a URL is a URL that browsers typically do not include in navigation history. The URL. if the URL is a URL that is not included in navigation history, or otherwise. Returns whether a URL is opaque. The URL. if the URL is opaque, or otherwise. Searches for and retrieves a file or protocol association-related string from the registry. A path to a file. One or more attributes. Only one "InitXXX" attribute can be used. A attribute. The associated file- or protocol-related string from the registry or string.Empty if no association can be found. Retrieve information about an object in the file system, such as a file, folder, directory, or drive root. A struct instance. You should call this function from a background thread. Failure to do so could cause the UI to stop responding. Unicode path are not supported. The path to the file system object which should not exceed the maximum path length in length. Both absolute and relative paths are valid. A attribute. A attribute. Checks that the path contains only valid path-characters. suppress any Exception that might be thrown as a result from a failure, such as ACLs protected directories or non-accessible reparse points. Indicates whether the link target is a file or directory. Used by Win32 API CreateSymbolicLink()/CreateSymbolicLinkTransacted() The link target is a file. The link target is a directory. Represents information about a symbolic link. Gets the type of the link. The type of the link. Specifies the type of a symbolic link. The symbolic link is absolute. The symbolic link is relative. The function attempted to use a name that is reserved for use by another transaction. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. The message. The inner exception. Initializes a new instance of the class. The info. The context. The function attempted to use a name that is reserved for use by another transaction. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. The message. The inner exception. Initializes a new instance of the class. The info. The context. The remote server or share does not support transacted file operations. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. The message. The inner exception. Initializes a new instance of the class. The object that holds the serialized object data. The contextual information about the source or destination. The transaction handle associated with this operation is not valid. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. The message. The inner exception. Initializes a new instance of the class. The data for serializing or deserializing the object. The source and destination for the object. A KTM transaction object for use with the transacted operations in Initializes a new instance of the class, internally using the specified . This method allows the usage of methods accepting a with an instance of . The transaction to use for any transactional operations. Initializes a new instance of the class with a default security descriptor, infinite timeout and no description. Initializes a new instance of the class with a default security descriptor. The time, in milliseconds, when the transaction will be aborted if it has not already reached the prepared state. A user-readable description of the transaction. This parameter may be . Initializes a new instance of the class. The security descriptor. The time, in milliseconds, when the transaction will be aborted if it has not already reached the prepared state. Specify 0 to provide an infinite timeout. A user-readable description of the transaction. This parameter may be . Requests that the specified transaction be committed. Requests that the specified transaction be rolled back. This function is synchronous. Gets the safe handle. The safe handle. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Represents a wrapper class for a handle used by the FindFirstFile/FindNextFile Win32 API functions. Initializes a new instance of the class. Initializes a new instance of the class. The handle. [owns handle]. When overridden in a derived class, executes the code required to free the handle. if the handle is released successfully; otherwise, in the event of a catastrophic failure, . In this case, it generates a ReleaseHandleFailed Managed Debugging Assistant. Represents a wrapper class for a handle used by the FindFirstVolumeMountPoint/FindVolumeMountPointClose methods of the Win32 API. Initializes a new instance of the class. Initializes a new instance of the class. The handle. [owns handle]. When overridden in a derived class, executes the code required to free the handle. if the handle is released successfully; otherwise, in the event of a catastrophic failure, . Represents a wrapper class for a handle used by the FindFirstVolume/FindNextVolume methods of the Win32 API. Initializes a new instance of the class. Initializes a new instance of the class. The handle. [owns handle]. When overridden in a derived class, executes the code required to free the handle. if the handle is released successfully; otherwise, in the event of a catastrophic failure, . In this case, it generates a ReleaseHandleFailed Managed Debugging Assistant. Provides a concrete implementation of SafeHandle supporting transactions. Initializes a new instance of the class. When overridden in a derived class, executes the code required to free the handle. if the handle is released successfully; otherwise, in the event of a catastrophic failure, . In this case, it generates a ReleaseHandleFailed Managed Debugging Assistant. It is too late to perform the requested operation, since the Transaction has already been aborted. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. The message. The inner exception. Initializes a new instance of the class. The info. The context. It is too late to perform the requested operation, since the Transaction has already been committed. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. The message. The inner exception. Initializes a new instance of the class. The object that holds the serialized object data. The contextual information about the source or destination. The exception that is thrown when an attempt to create a file or directory that already exists was made. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. The message. The inner exception. Initializes a new instance of the class. The data for serializing or deserializing the object. The source and destination for the object. Static class providing utility methods for working with Microsoft Windows devices and volumes. Defines, redefines, or deletes MS-DOS device names. An MS-DOS device name string specifying the device the function is defining, redefining, or deleting. An MS-DOS path that will implement this device. Defines, redefines, or deletes MS-DOS device names. An MS-DOS device name string specifying the device the function is defining, redefining, or deleting. >An MS-DOS path that will implement this device. If parameter has the flag specified, is used as is. The controllable aspects of the DefineDosDevice function, flags which will be combined with the default. Deletes an MS-DOS device name. An MS-DOS device name specifying the device to delete. Deletes an MS-DOS device name. An MS-DOS device name string specifying the device to delete. A pointer to a path string that will implement this device. The string is an MS-DOS path string unless the flag is specified, in which case this string is a path string. Deletes an MS-DOS device name. An MS-DOS device name string specifying the device to delete. A pointer to a path string that will implement this device. The string is an MS-DOS path string unless the flag is specified, in which case this string is a path string. Only delete MS-DOS device on an exact name match. If is , must be the same path used to create the mapping. Deletes an MS-DOS device name. An MS-DOS device name string specifying the device to delete. A pointer to a path string that will implement this device. The string is an MS-DOS path string unless the flag is specified, in which case this string is a path string. The controllable aspects of the DefineDosDevice function flags which will be combined with the default. Only delete MS-DOS device on an exact name match. If is , must be the same path used to create the mapping. Retrieves a list of all existing MS-DOS device names. An with one or more existing MS-DOS device names. Retrieves a list of all existing MS-DOS device names. (Optional, default: ) An MS-DOS device name string specifying the target of the query. This parameter can be "sort". In that case a sorted list of all existing MS-DOS device names is returned. This parameter can be . In that case, the function will store a list of all existing MS-DOS device names into the buffer. An with or more existing MS-DOS device names. Retrieves information about MS-DOS device names. The function can obtain the current mapping for a particular MS-DOS device name. The function can also obtain a list of all existing MS-DOS device names. An MS-DOS device name string, or part of, specifying the target of the query. This parameter can be . In that case, the QueryDosDevice function will store a list of all existing MS-DOS device names into the buffer. (Optional, default: ) If options[0] = a sorted list will be returned. An with one or more existing MS-DOS device names. Gets the name of the file system, such as NTFS or FAT32. Use DriveFormat to determine what formatting a drive uses. A path to a drive. For example: "C:\", "\\server\share", or "\\?\Volume{c0580d5e-2ad6-11dc-9924-806e6f6e6963}\". The name of the file system on the specified drive or on failure or if not available. Gets the drive letter from an MS-DOS device name. For example: "\Device\HarddiskVolume2" returns "C:\". An MS-DOS device name. The drive letter from an MS-DOS device name. Determines, based on the root of the current directory, whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive. A object. Determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive. A path to a drive. For example: "C:\", "\\server\share", or "\\?\Volume{c0580d5e-2ad6-11dc-9924-806e6f6e6963}\" A object. Retrieves information about the amount of space that is available on a disk volume, which is the total amount of space, the total amount of free space, and the total amount of free space available to the user that is associated with the calling thread. The calling application must have FILE_LIST_DIRECTORY access rights for this directory. A path to a drive. For example: "C:\", "\\server\share", or "\\?\Volume{c0580d5e-2ad6-11dc-9924-806e6f6e6963}\". A class instance. Retrieves information about the amount of space that is available on a disk volume, which is the total amount of space, the total amount of free space, and the total amount of free space available to the user that is associated with the calling thread. The calling application must have FILE_LIST_DIRECTORY access rights for this directory. A path to a drive. For example: "C:\", "\\server\share", or "\\?\Volume{c0580d5e-2ad6-11dc-9924-806e6f6e6963}\". gets both size- and disk cluster information. Get only disk cluster information, Get only size information. A class instance. Gets a value indicating whether a drive is ready. A path to a drive. For example: "C:\", "\\server\share", or "\\?\Volume{c0580d5e-2ad6-11dc-9924-806e6f6e6963}\". if is ready; otherwise, . Deletes the label of the file system volume that is the root of the current directory. Deletes the label of a file system volume. The root directory of a file system volume. This is the volume the function will remove the label. Deletes a Drive letter or mounted folder. Deleting a mounted folder does not cause the underlying directory to be deleted. If the parameter is a directory that is not a mounted folder, the function does nothing. The directory is not deleted. It's not an error to attempt to unmount a volume from a volume mount point when there is no volume actually mounted at that volume mount point. The Drive letter or mounted folder to be deleted. For example, X:\ or Y:\MountX\. Returns an enumerable collection of of all mounted folders (volume mount points) on the specified volume. A containing the volume . An enumerable collection of of all volume mount points on the specified volume. Returns an enumerable collection of drive letters and mounted folder paths for the specified volume. A volume path: \\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\. An enumerable collection of containing the path names for the specified volume. Returns an enumerable collection of volumes on the computer. An enumerable collection of volume names on the computer. Get the unique volume name for the given path. A path string. Both absolute and relative file and directory names, for example "..", is acceptable in this path. If you specify a relative file or directory name without a volume qualifier, GetUniqueVolumeNameForPath returns the Drive letter of the current volume. Returns the unique volume name in the form: "\\?\Volume{GUID}\", or on error or if unavailable. Retrieves the Win32 Device name from the Volume name. Name of the Volume. The Win32 Device name from the Volume name (for example: "\Device\HarddiskVolume2"), or on error or if unavailable. Gets the shortest display name for the specified . This method basically returns the shortest string returned by A volume path: \\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\. The shortest display name for the specified volume found, or if no display names were found. Retrieves a volume path for the volume that is associated with the specified volume mount point (drive letter, volume GUID path, or mounted folder). The path of a mounted folder (for example, "Y:\MountX\") or a drive letter (for example, "X:\"). The unique volume name of the form: "\\?\Volume{GUID}\". Tranlates DosDevicePath to a Volume GUID. For example: "\Device\HarddiskVolumeX\path\filename.ext" can translate to: "\path\ filename.ext" or: "\\?\Volume{GUID}\path\filename.ext". A DosDevicePath, for example: \Device\HarddiskVolumeX\path\filename.ext. A translated dos path. Retrieves information about the file system and volume associated with the specified root file or directorystream. A path that contains the root directory. A instance describing the volume associatied with the specified root directory. Retrieves information about the file system and volume associated with the specified root file or directorystream. An instance to a handle. A instance describing the volume associatied with the specified root directory. Retrieve the label of a file system volume. A path to a volume. For example: "C:\", "\\server\share", or "\\?\Volume{c0580d5e-2ad6-11dc-9924-806e6f6e6963}\". The the label of the file system volume. This function can return string.Empty since a volume label is generally not mandatory. Retrieves the volume mount point where the specified path is mounted. The path to the volume, for example: "C:\Windows". Returns the nearest volume root path for a given directory. The volume path name, for example: "C:\Windows" returns: "C:\". Determines whether the volume of two file system objects is the same. The first filesystem ojbect with full path information. The second file system object with full path information. if both filesytem objects reside on the same volume, otherwise. Determines whether the specified volume name is a defined volume on the current computer. A path to a volume. For example: "C:\", "\\server\share", or "\\?\Volume{c0580d5e-2ad6-11dc-9924-806e6f6e6963}\". on success, otherwise. Sets the label of the file system volume that is the root of the current directory. A name for the volume. Sets the label of a file system volume. A path to a volume. For example: "C:\", "\\server\share", or "\\?\Volume{c0580d5e-2ad6-11dc-9924-806e6f6e6963}\" If this parameter is , the function uses the current drive. A name for the volume. If this parameter is , the function deletes any existing label from the specified volume and does not assign a new label. Associates a volume with a Drive letter or a directory on another volume. The user-mode path to be associated with the volume. This may be a Drive letter (for example, "X:\") or a directory on another volume (for example, "Y:\MountX\"). A containing the volume . Defines, redefines, or deletes MS-DOS device names. defines a new MS-DOS device. deletes a previously defined MS-DOS device. An MS-DOS device name string specifying the device the function is defining, redefining, or deleting. A pointer to a path string that will implement this device. The string is an MS-DOS path string unless the flag is specified, in which case this string is a path string. The controllable aspects of the DefineDosDevice function, flags which will be combined with the default. Only delete MS-DOS device on an exact name match. If is , must be the same path used to create the mapping. on success, otherwise. Deletes a Drive letter or mounted folder. It's not an error to attempt to unmount a volume from a volume mount point when there is no volume actually mounted at that volume mount point. Deleting a mounted folder does not cause the underlying directory to be deleted. The Drive letter or mounted folder to be deleted. For example, X:\ or Y:\MountX\. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. If completed successfully returns , otherwise the last error number. Contains information about a filesystem Volume. Initializes a VolumeInfo instance. A valid drive path or drive letter. This can be either uppercase or lowercase, 'a' to 'z' or a network share in the format: \\server\share. Initializes a VolumeInfo instance. A valid drive path or drive letter. This can be either uppercase or lowercase, 'a' to 'z' or a network share in the format: "\\server\share". Refreshes the state of the object. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Initializes a VolumeInfo instance. An instance to a handle. Initializes a VolumeInfo instance. An instance to a handle. Refreshes the state of the object. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Refreshes the state of the object. Returns the full path of the volume. A string that represents this instance. The specified volume supports preserved case of file names when it places a name on disk. The specified volume supports case-sensitive file names. The specified volume supports file-based compression. Gets the name of the file system, for example, the FAT file system or the NTFS file system. The name of the file system. The full path to the volume. The volume GUID. Gets the maximum length of a file name component that the file system supports. The maximum length of a file name component that the file system supports. Gets the label of the volume. The label of the volume. This property is the label assigned to the volume, such "MyDrive" The specified volume supports named streams. The specified volume preserves and enforces access control lists (ACL). The specified volume is read-only. The specified volume supports a single sequential write. Gets the volume serial number that the operating system assigns when a hard disk is formatted. The volume serial number that the operating system assigns when a hard disk is formatted. The specified volume supports the Encrypted File System (EFS). The specified volume supports extended attributes. The specified volume supports hard links. The specified volume supports object identifiers. The file system supports open by FileID. The specified volume supports remote storage. (This property does not appear on MSDN) The specified volume supports re-parse points. The specified volume supports sparse files. The specified volume supports transactions. The specified volume supports update sequence number (USN) journals. The specified volume supports Unicode in file names as they appear on disk. The specified volume is a compressed volume, for example, a DoubleSpace volume. The specified volume supports disk quotas. Contains information about a Distributed File System (DFS) root or link. This class cannot be inherited. This structure contains the name, status, GUID, time-out, number of targets, and information about each target of the root or link. Initializes a new instance of the class which acts as a wrapper for a DFS root or link target. Initializes a new instance of the class, which acts as a wrapper for a DFS root or link target. An initialized instance. Returns the Universal Naming Convention (UNC) path of the DFS root or link. A string that represents this instance. The instance of the DFS root or link. The comment of the DFS root or link. The Universal Naming Convention (UNC) path of the DFS root or link. Specifies the GUID of the DFS root or link. The collection of DFS targets of the DFS root or link. An enum that specifies a set of bit flags that describe the DFS root or link. Specifies the time-out, in seconds, of the DFS root or link. Specifies a set of flags that describe specific properties of a DFS namespace, root, or link. For domain-based DFS namespaces, this member specifies the size of the corresponding Active Directory data blob, in bytes. For stand-alone DFS namespaces, this field specifies the size of the metadata stored in the registry, including the key names and value names, in addition to the specific data items associated with them. This field is valid for DFS roots only. Pointer to a SECURITY_DESCRIPTOR structure that specifies a self-relative security descriptor to be associated with the DFS link's reparse point. This field is valid for DFS links only. Contains information about a DFS root or link target in a DFS namespace or from the cache maintained by the DFS client. This class cannot be inherited. Initializes a new instance of the class, which acts as a wrapper for a DFS root or link target. Initializes a new instance of the class, which acts as a wrapper for a DFS root or link target. An initialized instance. The share name of the DFS root target or link target. A string that represents this instance. The server name of the DFS root target or link target. The share name of the DFS root target or link target. An enum of the DFS root target or link target. Contains a DFS target's priority class and rank. Specifies the priority rank value of the target. The default value is 0, which indicates the highest priority rank within a priority class. A set of bit flags that describe specific properties of a DFS namespace, root, or link. No property flag. DFS_PROPERTY_FLAG_INSITE_REFERRALS Scope: Domain roots, stand-alone roots, and links. If this flag is set at the DFS root, it applies to all links; otherwise, the value of this flag is considered for each individual link. When this flag is set, a DFS referral response from a DFS server for a DFS root or link with the "INSITE" option enabled contains only those targets which are in the same site as the DFS client requesting the referral. Targets in the two global priority classes are always returned, regardless of their site location. DFS_PROPERTY_FLAG_ROOT_SCALABILITY Scope: The entire DFS namespace for a domain-based DFS namespace only. By default, a DFS root target server polls the PDS to detect changes to the DFS metadata. To prevent heavy server load on the PDC, root scalability can be enabled for the DFS namespace. Setting this flag will cause the DFS server to poll the nearest domain controller instead of the PDC for DFS metadata changes for the common namespace. Note that any changes made to the metadata must still occur on the PDC, however. DFS_PROPERTY_FLAG_SITE_COSTING Scope: The entire DFS namespace for both domain-based and stand-alone DFS namespaces. By default, targets returned in a referral response from a DFS server to a DFS client for a DFS root or link consists of two groups: targets in the same site as the client, and targets outside the site. If site-costing is enabled for the Active Directory, the response can have more than two groups, with each group containing targets with the same site cost for the specific DFS client requesting the referral. The groups are ordered by increasing site cost. For more information about how site-costing is used to prioritize targets. DFS_PROPERTY_FLAG_TARGET_FAILBACK Scope: Domain-based DFS roots, stand-alone DFS roots, and DFS links. If this flag is set at the DFS root, it applies to all links; otherwise, the value of this flag is considered for each individual link. When this flag is set, optimal target failback is enabled for V4 DFS clients, allowing them to fail back to an optimal target after failing over to a non-optimal one. The target failback setting is provided to the DFS client in a V4 referral response by a DFS server. DFS_PROPERTY_FLAG_CLUSTER_ENABLED Scope: Stand-alone DFS roots and links only. The DFS root is clustered to provide high availability for storage failover. DFS_PROPERTY_FLAG_ABDE Scope: Domain-based DFS roots and stand-alone DFS roots. When this flag is set, Access-Based Directory Enumeration (ABDE) mode support is enabled on the entire DFS root target share of the DFS namespace. Defines the set of possible DFS target priority class settings. The priority class is not valid. The middle or "normal" site cost priority class for a DFS target. The highest priority class for a DFS target. Targets assigned this class receive global preference. The highest site cost priority class for a DFS target. Targets assigned this class receive the most preference among targets of the same site cost for a given DFS client. The lowest site cost priority class for a DFS target. Targets assigned this class receive the least preference among targets of the same site cost for a given DFS client. The lowest level of priority class for a DFS target. Targets assigned this class receive the least preference globally. The information level. No specific information level used. Contains information about the shared resource, including the name and type of the resource, and a comment associated with the resource. Contains information about the shared resource, including the name, type, and permissions of the resource, comments associated with the resource, the maximum number of concurrent connections, the number of current connections, the local path for the resource, and a password for the current connection. Contains information about the shared resource, including the server name, name of the resource, type, and permissions, the number of connections, and other pertinent information. Contains information about the shared resource. NETRESOURCE structure. ResourceUsage: A set of bit flags describing how the resource can be used. Note that this member can be specified only if the member is equal to . RESOURCEUSAGE_CONNECTABLE The resource is a connectable resource. The name pointed to by the lpRemoteName member can be passed to the WNetAddConnection function to make a network connection. RESOURCEUSAGE_CONTAINER The resource is a container resource. The name pointed to by the lpRemoteName member can be passed to the WNetAddConnection function to make a network connection. RESOURCEUSAGE_NOLOCALDEVICE The resource is not a local device. RESOURCEUSAGE_SIBLING The resource is a sibling. This value is not used by Windows. RESOURCEUSAGE_ATTACHED The resource must be attached. This value specifies that a function to enumerate this resource should fail if the caller is not authenticated, even if the network permits enumeration without authentication. RESOURCEUSAGE_ALL Setting this value is equivalent to setting: , , and . NETRESOURCE structure. ResourceType: The type of resource. If a network provider cannot distinguish between print and disk resources, it can enumerate all resources. RESOURCETYPE_ANY ResourceType: All resources. If a network provider cannot distinguish between print and disk resources, it can enumerate all resources. This value cannot be combined with or . RESOURCETYPE_DISK All disk resources. RESOURCETYPE_PRINT All print resources. NETRESOURCE structure. ResourceScope: The scope of the enumeration. RESOURCE_CONNECTED Enumerate all currently connected resources. The function ignores the parameter. RESOURCE_GLOBALNET Enumerate all resources on the network. RESOURCE_REMEMBERED Enumerate all remembered (persistent) connections. The function ignores the parameter. RESOURCE_RECENT RESOURCE_CONTEXT Enumerate only resources in the network context of the caller. Specify this value for a Network Neighborhood view. The function ignores the parameter. The display options for the network object in a network browsing user interface. RESOURCEDISPLAYTYPE_GENERIC The method used to display the object does not matter. RESOURCEDISPLAYTYPE_DOMAIN The object should be displayed as a domain. RESOURCEDISPLAYTYPE_SERVER The object should be displayed as a server. RESOURCEDISPLAYTYPE_SHARE The object should be displayed as a share RESOURCEDISPLAYTYPE_FILE The object should be displayed as a file. RESOURCEDISPLAYTYPE_GROUP The object should be displayed as a group. RESOURCEDISPLAYTYPE_NETWORK The object should be displayed as a network. RESOURCEDISPLAYTYPE_ROOT The object should be displayed as a logical root for the entire network. RESOURCEDISPLAYTYPE_SHAREADMIN The object should be displayed as a administrative share. RESOURCEDISPLAYTYPE_DIRECTORY The object should be displayed as a directory. RESOURCEDISPLAYTYPE_TREE The object should be displayed as a tree. RESOURCEDISPLAYTYPE_NDSCONTAINER The object should be displayed as a Netware Directory Service container. Used by function WNetUseConnection(); Set of bit flags describing the connection. This parameter can be any combination of the following values. No Connect options are used. This flag instructs the operating system to store the network resource connection. If this bit flag is set, the operating system automatically attempts to restore the connection when the user logs on. The system remembers only successful connections that redirect local devices. It does not remember connections that are unsuccessful or deviceless connections. If this flag is set, the operating system may interact with the user for authentication purposes. This flag instructs the system not to use any default settings for user names or passwords without offering the user the opportunity to supply an alternative. This flag is ignored unless is also set. This flag forces the redirection of a local device when making the connection. If this flag is set, and the operating system prompts for a credential, the credential should be saved by the credential manager. If the credential manager is disabled for the caller's logon session, or if the network provider does not support saving credentials, this flag is ignored. This flag is also ignored unless you set the "CommandLine" flag. Contains the name and type (domain-based or stand-alone) of a DFS namespace. Minimum supported client: Windows XP with SP1 [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] DFS_VOLUME_FLAVOR_STANDALONE Specifies a stand-alone DFS namespace. DFS_VOLUME_FLAVOR_AD_BLOB Specifies a domain-based DFS namespace. DFS_VOLUME_FLAVORS bitmask (0x00000300) Used to extract the DFS namespace flavor. The WNetCancelConnection function cancels an existing network connection. You can also call the function to remove remembered network connections that are not currently connected. If the function succeeds, the return value is If the function fails, the return value is a system error code. Minimum supported client: Windows 2000 Professional [desktop apps only] Minimum supported server: Windows 2000 Server [desktop apps only] The WNetGetUniversalName function takes a drive-based path for a network resource and returns an information structure that contains a more universal form of the name. If the function succeeds, the return value is If the function fails, the return value is a system error code. Minimum supported client: Windows 2000 Professional [desktop apps only] Minimum supported server: Windows 2000 Server [desktop apps only] The WNetUseConnection function creates a connection to a network resource. The function can redirect a local device to a network resource. If the function succeeds, the return value is If the function fails, the return value is a system error code. Minimum supported client: Windows 2000 Professional [desktop apps only] Minimum supported server: Windows 2000 Server [desktop apps only] Lists all connections made to a shared resource on the server or all connections established from a particular computer. If the function succeeds, the return value is NERR_Success. If the function fails, the return value is a system error code. If there is more than one user using this connection, then it is possible to get more than one structure for the same connection, but with a different user name. Administrator, Server or Print Operator, or Power User group membership is required to successfully execute the NetConnectionEnum function. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Forces a resource to close. This function can be used when an error prevents closure by any other means. If the function succeeds, the return value is NERR_Success. If the function fails, the return value is a system error code. You should use NetFileClose with caution because it does not write data cached on the client system to the file before closing the file. Only members of the Administrators or Server Operators local group can successfully execute the NetFileEnum function. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Returns information about some or all open files on a server, depending on the parameters specified. If the function succeeds, the return value is NERR_Success. If the function fails, the return value is a system error code. Only members of the Administrators or Server Operators local group can successfully execute the NetFileEnum function. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Retrieves information about each (hidden) Server Message Block (SMB) resource/share on a server. If the function succeeds, the return value is NERR_Success. If the function fails, the return value is a system error code. For interactive users (users who are logged on locally to the machine), no special group membership is required to execute the NetShareEnum function. For non-interactive users, Administrator, Power User, Print Operator, or Server Operator group membership is required to successfully execute the NetShareEnum function at levels 2, 502, and 503. No special group membership is required for level 0 or level 1 calls. This function applies only to Server Message Block (SMB) shares. Windows Server 2003 and Windows XP: For all users, Administrator, Power User, Print Operator, or Server Operator group membership is required to successfully execute the NetShareEnum function at levels 2 and 502. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Retrieves information about a particular Server Message Block (SMB) shared resource on a server. If the function succeeds, the return value is NERR_Success. If the function fails, the return value is a system error code. For interactive users (users who are logged on locally to the machine), no special group membership is required to execute the NetShareGetInfo function. For non-interactive users, Administrator, Power User, Print Operator, or Server Operator group membership is required to successfully execute the NetShareGetInfo function at levels 2, 502, and 503. This function applies only to Server Message Block (SMB) shares. Windows Server 2003 and Windows XP: For all users, Administrator, Power User, Print Operator, or Server Operator group membership is required to successfully execute the NetShareGetInfo function at levels 2 and 502. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The NetServerDiskEnum function retrieves a list of disk drives on a server. If the function succeeds, the return value is NERR_Success. If the function fails, the return value is a system error code. The function returns an array of three-character strings (a drive letter, a colon, and a terminating null character). Only members of the Administrators or Server Operators local group can successfully execute the NetServerDiskEnum function on a remote computer. Minimum supported client: Windows 2000 Professional [desktop apps only] Minimum supported server: Windows 2000 Server [desktop apps only] Enumerates the Distributed File System (DFS) namespaces hosted on a server or DFS links of a namespace hosted by a server. If the function succeeds, the return value is NERR_Success. If the function fails, the return value is a system error code. No special group membership is required for using the NetDfsEnum function. Minimum supported client: Windows Vista Minimum supported server: Windows Server 2003 Retrieves information about a Distributed File System (DFS) root or link from the cache maintained by the DFS client. If the function succeeds, the return value is NERR_Success. If the function fails, the return value is a system error code. No special group membership is required for using the NetDfsGetClientInfo function. Minimum supported client: Windows Vista Minimum supported server: Windows Server 2003 Retrieves information about a specified Distributed File System (DFS) root or link in a DFS namespace. If the function succeeds, the return value is NERR_Success. If the function fails, the return value is a system error code. No special group membership is required for using the NetDfsGetInfo function. Minimum supported client: Windows Vista Minimum supported server: Windows Server 2003 A constant of type DWORD that is set to –1. This value is valid as an input parameter to any method in section 3.1.4 that takes a PreferedMaximumLength parameter. When specified as an input parameter, this value indicates that the method MUST allocate as much space as the data requires. MSDN "2.2.2.2 MAX_PREFERRED_LENGTH": http://msdn.microsoft.com/en-us/library/cc247107.aspx Contains the name, status, GUID, time-out, property flags, metadata size, DFS target information, link reparse point security descriptor, and a list of DFS targets for a root or link. Minimum supported client: Windows Vista with SP1 Minimum supported server: Windows Server 2008 The Universal Naming Convention (UNC) path of a DFS root or link. The comment associated with the DFS root or link. A that specifies a set of bit flags that describe the DFS root or link. Specifies the time-out, in seconds, of the DFS root or link. Specifies the GUID of the DFS root or link. Specifies a set of flags that describe specific properties of a DFS namespace, root, or link. For domain-based DFS namespaces, this member specifies the size of the corresponding Active Directory data blob, in bytes. For stand-alone DFS namespaces, this field specifies the size of the metadata stored in the registry, including the key names and value names, in addition to the specific data items associated with them. This field is valid for DFS roots only. This member is reserved for system use. Pointer to a SECURITY_DESCRIPTOR structure that specifies a self-relative security descriptor to be associated with the DFS link's reparse point. This field is valid for DFS links only. Specifies the number of DFS targets. An array of structures. Contains the priority class and rank of a specific DFS target. Minimum supported client: Windows Vista Minimum supported server: Windows Server 2008, Windows Server 2003 with SP1 DFS_TARGET_PRIORITY_CLASS enumeration value that specifies the priority class of the target. Specifies the priority rank value of the target. The default value is 0, which indicates the highest priority rank within a priority class. This member is reserved and must be zero. Contains information about a DFS target, including the DFS target server name and share name as well as the target's state and priority. Minimum supported client: Windows Vista Minimum supported server: Windows Server 2008, Windows Server 2003 with SP1 State of the target. The DFS root target or link target server name. The DFS root target or link target share name. DFS_TARGET_PRIORITY structure that contains a DFS target's priority class and rank. Contains information about a network resource. The NETRESOURCE structure is returned during an enumeration of network resources. The NETRESOURCE structure is also specified when making or querying a network connection with calls to various Windows Networking functions. The scope of the enumeration. The type of resource The display options for the network object in a network browsing user interface. A set of bit flags describing how the resource can be used. If the member is equal to or , this member is a pointer to a -terminated character string that specifies the name of a local device. This member is if the connection does not use a device. If the entry is a network resource, this member is a that specifies the remote network name. If the entry is a current or persistent connection, member points to the network name associated with the name pointed to by the member. The can be characters in length, and it must follow the network provider's naming conventions. A that contains a comment supplied by the network provider. A that contains the name of the provider that owns the resource. This member can be if the provider name is unknown. Contains the identifier and other pertinent information about files, devices, and pipes. This structure is only for use with the NetFileEnum function. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The identification number assigned to the resource when it is opened. The access permissions associated with the opening application. This member can be one or more of the following values. The number of file locks on the file, device, or pipe. The path of the opened resource. Specifies which user (on servers that have user-level security) or which computer (on servers that have share-level security) opened the resource. Contains the name of a domain-based Distributed File System (DFS) namespace. This structure is only for use with the NetDfsEnum, NetDfsGetClientInfo, and NetDfsGetInfo functions. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The name of a domain-based DFS namespace. Contains the name and type (domain-based or stand-alone) of a DFS namespace. The DFS functions use the structure to enumerate DFS namespaces hosted on a machine. Minimum supported client: Windows XP with SP1 [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Value that specifies the type of the DFS namespace. This member can be one of the values. The name of a DFS namespace. This member can have one of the following two formats: The first format is: \ServerName\DfsName where ServerName is the name of the root target server that hosts the stand-alone DFS namespace and DfsName is the name of the DFS namespace. The second format is: \DomainName\DomDfsName where DomainName is the name of the domain that hosts the domain-based DFS namespace and DomDfsname is the name of the DFS namespace. Contains path and name information for a network resource. Identifies a network resource. The name of a network connection. The remaing path. Contains the identification number of a connection, number of open files, connection time, number of users on the connection, and the type of connection. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Specifies a connection identification number. A combination of values that specify the type of connection made from the local device name to the shared resource. Specifies the number of files currently open as a result of the connection. Specifies the number of users on the connection. Specifies the number of seconds that the connection has been established. If the server sharing the resource is running with user-level security, the UserName member describes which user made the connection. If the server is running with share-level security, coni1_username describes which computer (computername) made the connection. Note that Windows does not support share-level security. String that specifies either the share name of the server's shared resource or the computername of the client. The value of this member depends on which name was specified as the qualifier parameter to the NetConnectionEnum function. Contains information about the shared resource. This structure can be retrieved by calling the NetShareGetInfo function. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] A bitmask of flags that specify information about the shared resource. Contains information about the shared resource, including the name and type of the resource, and a comment associated with the resource. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The name of a shared resource. The type of share. An optional comment about the shared resource. Contains information about the shared resource, including the name, type, and permissions of the resource, comments associated with the resource, the maximum number of concurrent connections, the number of current connections, the local path for the resource, and a password for the current connection. Share information, NT, level 2, requires admin rights to work. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The name of a shared resource. The type of share. An optional comment about the shared resource. The shared resource's permissions for servers running with share-level security. Note that Windows does not support share-level security. This member is ignored on a server running user-level security. The maximum number of concurrent connections that the shared resource can accommodate. The number of connections is unlimited if the value specified in this member is –1. The number of current connections to the resource. The local path for the shared resource. For disks, this member is the path being shared. For print queues, this member is the name of the print queue being shared. The share's password (when the server is running with share-level security). Contains information about the shared resource, including the server name, name of the resource, type, and permissions, the number of connections, and other pertinent information. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The name of a shared resource. The type of share. An optional comment about the shared resource. The shared resource's permissions for servers running with share-level security. Note that Windows does not support share-level security. This member is ignored on a server running user-level security. The maximum number of concurrent connections that the shared resource can accommodate. The number of connections is unlimited if the value specified in this member is –1. The number of current connections to the resource. The local path for the shared resource. For disks, this member is the path being shared. For print queues, this member is the name of the print queue being shared. The share's password (when the server is running with share-level security). The DNS or NetBIOS name of the remote server on which the shared resource resides. A value of "*" indicates no configured server name. Reserved; must be zero. Specifies the SECURITY_DESCRIPTOR associated with this share. A set of bit flags that describe the storage state of the DFS root or link target. No storage state. DFS_STORAGE_STATE_OFFLINE The DFS root or link target is offline. Windows Server 2003: The state of a root target cannot be set to DFS_STORAGE_STATE_OFFLINE. DFS_STORAGE_STATE_ONLINE The DFS root or link target is online. DFS_STORAGE_STATE_ACTIVE The DFS root or link target is the active target. A set of bit flags that describe the state of the DFS root or link; the state of the DFS namespace root cannot be changed. One flag is set, and one DFS_VOLUME_FLAVOR flag is set. No volume state. DFS_VOLUME_STATE_OK The specified DFS root or link is in the normal state. DFS_VOLUME_STATE_INCONSISTENT The internal DFS database is inconsistent with the specified DFS root or link. Attempts to repair the inconsistency have failed. DFS_VOLUME_STATE_OFFLINE The specified DFS root or link is offline or unavailable. DFS_VOLUME_STATE_ONLINE The specified DFS root or link is available. DFS_VOLUME_FLAVOR_STANDALONE The system sets this flag if the root is associated with a stand-alone DFS namespace. Windows XP: This value is not supported. DFS_VOLUME_FLAVOR_AD_BLOB The system sets this flag if the root is associated with a domain-based DFS namespace. Windows XP: This value is not supported. A set of bit flags that describe the permissions for the shared resource's on servers running with share-level security. Note that Windows does not support share-level security. This member is ignored on a server running user-level security. No permissions. ACCESS_READ Permission to read data from a resource and, by default, to execute the resource. ACCESS_WRITE Permission to write data to the resource. ACCESS_CREATE Permission to create an instance of the resource (such as a file); data can be written to the resource as the resource is created. ACCESS_EXEC Permission to execute the resource. ACCESS_DELETE Permission to delete the resource. ACCESS_ATRIB Permission to modify the resource's attributes, such as the date and time when a file was last modified. ACCESS_PERM Permission to modify the permissions (read, write, create, execute, and delete) assigned to a resource for a user or application. ACCESS_ALL Permission to read, write, create, execute, and delete resources, and to modify their attributes and permissions. Contains information about the shared resource. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] No specific resource type used. SHI1005_FLAGS_DFS The specified share is present in a DFS tree structure. This flag cannot be set with NetShareSetInfo. SHI1005_FLAGS_DFS_ROOT The specified share is the root volume in a DFS tree structure. This flag cannot be set with NetShareSetInfo. SHI1005_FLAGS_RESTRICT_EXCLUSIVE_OPENS The specified share disallows exclusive file opens, where reads to an open file are disallowed. SHI1005_FLAGS_FORCE_SHARED_DELETE Shared files in the specified share can be forcibly deleted. SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING Clients are allowed to cache the namespace of the specified share. SHI1005_FLAGS_ACCESS_BASED_DIRECTORY_ENUM The server will filter directory entries based on the access permissions that the user on the client computer has for the server on which the files reside. Only files for which the user has read access and directories for which the user has FILE_LIST_DIRECTORY access will be returned. If the user has SeBackupPrivilege, all available information will be returned. This flag is supported only on servers running Windows Server 2003 with SP1 or later. SHI1005_FLAGS_FORCE_LEVELII_OPLOCK Prevents exclusive caching modes that can cause delays for highly shared read-only data. This flag is supported only on servers running Windows Server 2008 R2 or later. SHI1005_FLAGS_ENABLE_HASH Enables server-side functionality needed for peer caching support. Clients on high-latency or low-bandwidth connections can use alternate methods to retrieve data from peers if available, instead of sending requests to the server. This is only supported on shares configured for manual caching (CSC_CACHE_MANUAL_REINT). This flag is supported only on servers running Windows Server 2008 R2 or later. SHI1005_FLAGS_ENABLE_CA (0X4000) - Enables server-side functionality needed for peer caching support. Clients on high-latency or low-bandwidth connections can use alternate methods to retrieve data from peers if available, instead of sending requests to the server. This is only supported on shares configured for manual caching (CSC_CACHE_MANUAL_REINT). Windows 7, Windows Server 2008 R2, Windows Vista, Windows Server 2008, and Windows Server 2003: This flag is not supported. The type of the shared resource. MSDN: 2.2.2.4 Share Types http://msdn.microsoft.com/en-us/library/cc247110.aspx Disk drive. Print queue. Communication device. Interprocess communication (IPC). A cluster share. A Scale-Out cluster share. A DFS share in a cluster. Special share reserved for interprocess communication (IPC$) or remote administration of the server (ADMIN$). Can also refer to administrative shares such as C$, D$, E$, and so forth. A temporary share that is not persisted for creation each time the file server initializes. Retriev all known Provides static methods to retrieve network resource information from a local- or remote host. Enumerates open resources from the local host. open resources from the local host. Enumerates open resources from the specified host. open resources from the specified . The DNS or NetBIOS name of the remote server. refers to the local host. This parameter may be . Enumerates only resources that have the value of the basepath parameter as a prefix. (A prefix is the portion of a path that comes before a backslash.) This parameter may be . The name of the user or the name of the connection; If does not begin with two backslashes ("\\") it indicates the name of the user. If begins with two backslashes ("\\") it indicates the name of the connection. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. >Enumerates open resources from the specified host. open resources from the specified . The DNS or NetBIOS name of the remote server. refers to the local host. This parameter may be . Enumerates only resources that have the value of the basepath parameter as a prefix. (A prefix is the portion of a path that comes before a backslash.) This parameter may be . The name of the user or the name of the connection; If does not begin with two backslashes ("\\") it indicates the name of the user. If begins with two backslashes ("\\") it indicates the name of the connection. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Enumerates drives from the local host. drives from the local host. Enumerates local drives from the specified host. drives from the specified host. The DNS or NetBIOS name of the remote server. refers to the local host. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Enumerates local drives from the specified host. drives from the specified host. The DNS or NetBIOS name of the remote server. refers to the local host. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Enumerates open connections from the local host. connection information from the local host. Enumerates open connections from the specified host. connection information from the specified . The DNS or NetBIOS name of the remote server. refers to the local host. The name of the Server Message Block (SMB) share. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Enumerates Server Message Block (SMB) shares from the local host. shares from the specified host. This method also enumerates hidden shares. Enumerates Server Message Block (SMB) shares from the local host. shares from the specified host. This method also enumerates hidden shares. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Enumerates Server Message Block (SMB) shares from the local host. shares from the specified host. This method also enumerates hidden shares. The type of the shared resource to retrieve. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Enumerates Server Message Block (SMB) shares from the specified . shares from the specified host. This method also enumerates hidden shares. The DNS or NetBIOS name of the specified host. Enumerates Server Message Block (SMB) shares from the specified . shares from the specified host. This method also enumerates hidden shares. The DNS or NetBIOS name of the specified host. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Enumerates Server Message Block (SMB) shares from the specified . shares from the specified host. This method also enumerates hidden shares. The DNS or NetBIOS name of the specified host. The type of the shared resource to retrieve. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Gets the host and share path name for the given . The share in the format: \\host\share. The host and share path. For example, if is: "\\SERVER001\C$\WINDOWS\System32", its is returned as string[0] = "SERVER001" and string[1] = "\C$\WINDOWS\System32". If the conversion from local path to UNC path fails, is returned. Retrieves information about the Server Message Block (SMB) share as defined on the specified host. A class, or on failure or when not available, and is . The share in the format: \\host\share. to suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Retrieves information about the Server Message Block (SMB) share as defined on the specified host. A class, or on failure or when not available, and is . One of the options. The share in the format: \\host\share. to suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Retrieves information about the Server Message Block (SMB) share as defined on the specified host. A class, or on failure or when not available, and is . The DNS or NetBIOS name of the specified host. The name of the Server Message Block (SMB) share. to suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Retrieves information about the Server Message Block (SMB) share as defined on the specified host. A class, or on failure or when not available, and is . One of the options. A string that specifies the DNS or NetBIOS name of the specified . A string that specifies the name of the Server Message Block (SMB) share. to suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Enumerates open connections from the specified host. connection information from the specified . The DNS or NetBIOS name of the remote server. refers to the local host. The name of the Server Message Block (SMB) share. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Enumerates Server Message Block (SMB) shares from a local or remote host. shares from the specified host. This method also enumerates hidden shares. The DNS or NetBIOS name of the specified host. The type of the shared resource to retrieve. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Gets the structure of a Server Message Block (SMB) share. A class, or on failure or when not available, and is . One of the options. A string that specifies the DNS or NetBIOS name of the specified . A string that specifies the name of the Server Message Block (SMB) share. to suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Enumerates the DFS Links from a DFS namespace. of DFS namespaces. The Universal Naming Convention (UNC) path of a DFS root or link. Enumerates the DFS namespaces from the local host. of DFS Root namespaces from the local host. Enumerates the DFS namespaces from a host. of DFS Root namespaces from a host. The DNS or NetBIOS name of a host. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Enumerates the DFS namespaces from the domain. of DFS Root namespaces from the domain. Enumerates the DFS namespaces from a domain. of DFS Root namespaces from a domain. A domain name. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Gets information about a DFS root or link from the cache maintained by the DFS client. A instance. The Universal Naming Convention (UNC) path of a DFS root or link. Gets information about a DFS root or link from the cache maintained by the DFS client. A instance. The Universal Naming Convention (UNC) path of a DFS root or link. The name of the DFS root target or link target server. The name of the share corresponding to the DFS root target or link target. Gets information about a specified DFS root or link in a DFS namespace. A instance. The Universal Naming Convention (UNC) path of a DFS root or link. Enumerates the DFS namespaces from a host. of DFS Root namespaces from a host. The DNS or NetBIOS name of a host. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Enumerates the DFS namespaces from a domain. of DFS Root namespaces from a domain. A domain name. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Retrieves information about a specified DFS root or link in a DFS namespace. A instance. retrieves information about a Distributed File System (DFS) root or link from the cache maintained by the DFS client. When retrieves information about a specified Distributed File System (DFS) root or link in a DFS namespace. The Universal Naming Convention (UNC) path of a DFS root or link. The name of the DFS root target or link target server. If is , this parameter is always . The name of the share corresponding to the DFS root target or link target. If is , this parameter is always . Creates a connection to a network resource. The function can redirect a local device to a network resource. If is or string.Empty, returns the last available drive letter, otherwise. The name of a local device to be redirected, such as "F:". When is or string.Empty, the last available drive letter will be used. Letters are assigned beginning with Z:, then Y: and so on. The network resource to connect to. The string can be up to MAX_PATH characters in length. Creates a connection to a network resource. The function can redirect a local device to a network resource. If is or string.Empty, returns the last available drive letter, null otherwise. The name of a local device to be redirected, such as "F:". When is or string.Empty, the last available drive letter will be used. Letters are assigned beginning with Z:, then Y: and so on. The network resource to connect to. The string can be up to MAX_PATH characters in length. The user name for making the connection. If is , the function uses the default user name. (The user context for the process provides the default user name) The password to be used for making the network connection. If is , the function uses the current default password associated with the user specified by . always pops-up an authentication dialog box. successful network resource connections will be saved. When the operating system prompts for a credential, the credential should be saved by the credential manager when true. Creates a connection to a network resource. The function can redirect a local device to a network resource. If is or string.Empty, returns the last available drive letter, null otherwise. The name of a local device to be redirected, such as "F:". When is or string.Empty, the last available drive letter will be used. Letters are assigned beginning with Z:, then Y: and so on. The network resource to connect to. The string can be up to MAX_PATH characters in length. An instance of which provides credentials for password-based authentication schemes such as basic, digest, NTLM, and Kerberos authentication. always pops-up an authentication dialog box. successful network resource connections will be saved. When the operating system prompts for a credential, the credential should be saved by the credential manager when true. Creates a connection to a network resource. The function can redirect a local device to a network resource. If is or string.Empty, returns the last available drive letter, null otherwise. Handle to a window that the provider of network resources can use as an owner window for dialog boxes. The name of a local device to be redirected, such as "F:". When is or string.Empty, the last available drive letter will be used. Letters are assigned beginning with Z:, then Y: and so on. The network resource to connect to. The string can be up to MAX_PATH characters in length. The user name for making the connection. If is , the function uses the default user name. (The user context for the process provides the default user name) The password to be used for making the network connection. If is , the function uses the current default password associated with the user specified by . always pops-up an authentication dialog box. successful network resource connections will be saved. When the operating system prompts for a credential, the credential should be saved by the credential manager when true. Creates a connection to a network resource. The function can redirect a local device to a network resource. If is or string.Empty, returns the last available drive letter, null otherwise. Handle to a window that the provider of network resources can use as an owner window for dialog boxes. The name of a local device to be redirected, such as "F:". When is or string.Empty, the last available drive letter will be used. Letters are assigned beginning with Z:, then Y: and so on. The network resource to connect to. The string can be up to MAX_PATH characters in length. An instance of which provides credentials for password-based authentication schemes such as basic, digest, NTLM, and Kerberos authentication. always pops-up an authentication dialog box. successful network resource connections will be saved. When the operating system prompts for a credential, the credential should be saved by the credential manager when true. Creates a connection to a network resource. A network resource to connect to, for example: \\server or \\server\share. Creates a connection to a network resource. A network resource to connect to, for example: \\server or \\server\share. The user name for making the connection. If is , the function uses the default user name. (The user context for the process provides the default user name) The password to be used for making the network connection. If is , the function uses the current default password associated with the user specified by . always pops-up an authentication dialog box. successful network resource connections will be saved. When the operating system prompts for a credential, the credential should be saved by the credential manager when true. Creates a connection to a network resource. A network resource to connect to, for example: \\server or \\server\share. An instance of which provides credentials for password-based authentication schemes such as basic, digest, NTLM, and Kerberos authentication. always pops-up an authentication dialog box. successful network resource connections will be saved. When the operating system prompts for a credential, the credential should be saved by the credential manager when true. Creates a connection to a network resource. Handle to a window that the provider of network resources can use as an owner window for dialog boxes. A network resource to connect to, for example: \\server or \\server\share. The user name for making the connection. If is , the function uses the default user name. (The user context for the process provides the default user name) The password to be used for making the network connection. If is , the function uses the current default password associated with the user specified by . always pops-up an authentication dialog box. successful network resource connections will be saved. When the operating system prompts for a credential, the credential should be saved by the credential manager when true. Creates a connection to a network resource. Handle to a window that the provider of network resources can use as an owner window for dialog boxes. A network resource to connect to, for example: \\server or \\server\share. An instance of which provides credentials for password-based authentication schemes such as basic, digest, NTLM, and Kerberos authentication. always pops-up an authentication dialog box. successful network resource connections will be saved. When the operating system prompts for a credential, the credential should be saved by the credential manager when true. Cancels an existing network connection. You can also call the function to remove remembered network connections that are not currently connected. The name of a local device to be disconnected, such as "F:". Cancels an existing network connection. You can also call the function to remove remembered network connections that are not currently connected. The name of a local device to be disconnected, such as "F:". Specifies whether the disconnection should occur if there are open files or jobs on the connection. If this parameter is , the function fails if there are open files or jobs. successful removal of network resource connections will be saved. Cancels an existing network connection. You can also call the function to remove remembered network connections that are not currently connected. A network resource to disconnect from, for example: \\server or \\server\share. Cancels an existing network connection. You can also call the function to remove remembered network connections that are not currently connected. A network resource to disconnect from, for example: \\server or \\server\share. Specifies whether the disconnection should occur if there are open files or jobs on the connection. If this parameter is , the function fails if there are open files or jobs. successful removal of network resource connections will be saved. Connects to/disconnects from a network resource. The function can redirect a local device to a network resource. If is or string.Empty, returns the last available drive letter, null otherwise. The . Return the host name in UNC format, for example: \\hostname. The unc name. Return the host name in UNC format, for example: \\hostname. Name of the computer. The unc name. Structure is used to pass additional data to the Win32 function. This method uses level to retieve full REMOTE_NAME_INFO structure. A structure. AlphaFS regards network drives created using SUBST.EXE as invalid. The local path with drive name. suppress any Exception that might be thrown as a result from a failure, such as unavailable resources. Handle to a window that the provider of network resources can use as an owner window for dialog boxes. The name of a local device to be redirected, such as "F:". When is or string.Empty, the last available drive letter will be used. Letters are assigned beginning with Z:, then Y: and so on. A network resource to connect to/disconnect from, for example: \\server or \\server\share A instance. Use either this or the combination of and . The user name for making the connection. If is , the function uses the default user name. (The user context for the process provides the default user name) The password to be used for making the network connection. If is , the function uses the current default password associated with the user specified by . always pops-up an authentication dialog box. successful network resource connections will be saved. When the operating system prompts for a credential, the credential should be saved by the credential manager when true. indicates that the operation concerns a drive mapping. indicates that the operation needs to disconnect from the network resource, otherwise connect. Used to create a temporary connection to a network resource that will be disconnected once this instance is disposed. Creates a temporary connection to a network resource. The function can redirect a local device to a network resource, using the current user credentials. The network resource to connect to. The string can be up to MAX_PATH characters in length. Creates a temporary connection to a network resource. The function can redirect a local device to a network resource, using a user name and password. The network resource to connect to. The string can be up to MAX_PATH characters in length. The user name for making the connection. If is , the function uses the default user name. (The user context for the process provides the default user name) The password to be used for making the network connection. If is , the function uses the current default password associated with the user specified by . always pops-up an authentication dialog box. Creates a temporary connection to a network resource. The function can redirect a local device to a network resource, can be supplied. The network resource to connect to. The string can be up to MAX_PATH characters in length. An instance of which provides credentials for password-based authentication schemes such as basic, digest, NTLM, and Kerberos authentication. always pops-up an authentication dialog box. class destructor. Releases all resources used by the class. Returns the last available drive letter used for this connection. A string that represents this instance. The last available drive letter used for this connection. The last available drive letter used for this connection. The path originally specified by the user. The path originally specified by the user. Contains the identification number of a connection, number of open files, connection time, number of users on the connection, and the type of connection. Create a OpenConnectionInfo instance. Returns the full path to the share. A string that represents this instance. The local or remote Host. Specifies a connection identification number. The type of share. Specifies the number of files currently open as a result of the connection. Specifies the number of users on the connection. Specifies the number of seconds that the connection has been established. If the server sharing the resource is running with user-level security, the UserName member describes which user made the connection. If the server is running with share-level security, coni1_username describes which computer (computername) made the connection. String that specifies either the share name of the server's shared resource or the computername of the client. The value of this member depends on which name was specified as the qualifier parameter to the NetConnectionEnum function. Contains the identification number and other pertinent information about files, devices, and pipes. This class cannot be inherited. Create a OpenResourceInfo instance. Forces the open resource to close. You should this method with caution because it does not write data cached on the client system to the file before closing the file. Returns the full path to the share. A string that represents this instance. The local or remote Host. The identification number assigned to the resource when it is opened. The path of the opened resource. The access permissions associated with the opening application. This member can be one or more of the following values. The number of file locks on the file, device, or pipe. Specifies which user (on servers that have user-level security) or which computer (on servers that have share-level security) opened the resource. Contains information about Server Message Block (SMB) shares. This class cannot be inherited. Creates a instance. A host to retrieve shares from. One of the options. A or instance. Returns the full path to the share. A string that represents this instance. The number of current connections to the resource. The instance associated with this share. Returns the full UNC path to the share. The maximum number of concurrent connections that the shared resource can accommodate. The number of connections is unlimited if the value specified in this member is –1. The name of a shared resource. The share's password (when the server is running with share-level security). The local path for the shared resource. For disks, this member is the path being shared. For print queues, this member is the name of the print queue being shared. The shared resource's permissions for servers running with share-level security. Note that Windows does not support share-level security. This member is ignored on a server running user-level security. An optional comment about the shared resource. Specifies the SECURITY_DESCRIPTOR associated with this share. A pointer to a string that specifies the DNS or NetBIOS name of the remote server on which the shared resource resides. A value of "*" indicates no configured server name. The type of share. The type of share resource. The structure level for the ShareInfo instance. Static class providing access to information about the operating system under which the assembly is executing. A set of flags that describe the named Windows versions. The values of the enumeration are ordered. A later released operating system version has a higher number, so comparisons between named versions are meaningful. A Windows version earlier than Windows 2000. Windows 2000 (Server or Professional). Windows XP. Windows Server 2003. Windows Vista. Windows Server 2008. Windows 7. Windows Server 2008 R2. Windows 8. Windows Server 2012. Windows 8.1. Windows Server 2012 R2 Windows 10 Windows Server A later version of Windows than currently installed. A set of flags to indicate the current processor architecture for which the operating system is targeted and running. PROCESSOR_ARCHITECTURE_INTEL The system is running a 32-bit version of Windows. PROCESSOR_ARCHITECTURE_IA64 The system is running on a Itanium processor. PROCESSOR_ARCHITECTURE_AMD64 The system is running a 64-bit version of Windows. PROCESSOR_ARCHITECTURE_UNKNOWN Unknown architecture. Gets a value indicating whether the operating system is a server operating system. if the current operating system is a server operating system; otherwise, . Gets a value indicating whether the current process is running under WOW64. if the current process is running under WOW64; otherwise, . Gets the numeric version of the operating system. The numeric version of the operating system. Gets the named version of the operating system. The named version of the operating system. Gets the processor architecture for which the operating system is targeted. The processor architecture for which the operating system is targeted. If running under WOW64 this will return a 32-bit processor. Use to determine if this is the case. Gets the version of the service pack currently installed on the operating system. The version of the service pack currently installed on the operating system. Only the and fields are used. Determines whether the operating system is of the specified version or later. if the operating system is of the specified or later; otherwise, . The lowest version for which to return true. Determines whether the operating system is of the specified version or later, allowing specification of a minimum service pack that must be installed on the lowest version. if the operating system matches the specified with the specified service pack, or if the operating system is of a later version; otherwise, . The minimum required version. The major version of the service pack that must be installed on the minimum required version to return true. This can be 0 to indicate that no service pack is required. The RtlGetVersion routine returns version information about the currently running operating system. RtlGetVersion returns STATUS_SUCCESS. Available starting with Windows 2000. Retrieves information about the current system to an application running under WOW64. If the function is called from a 64-bit application, it is equivalent to the GetSystemInfo function. This function does not return a value. To determine whether a Win32-based application is running under WOW64, call the function. Minimum supported client: Windows XP [desktop apps | Windows Store apps] Minimum supported server: Windows Server 2003 [desktop apps | Windows Store apps] Determines whether the specified process is running under WOW64. If the function succeeds, the return value is a nonzero value. If the function fails, the return value is zero. To get extended error information, call GetLastError. Minimum supported client: Windows Vista, Windows XP with SP2 [desktop apps only] Minimum supported server: Windows Server 2008, Windows Server 2003 with SP1 [desktop apps only] A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to Buffer is not large enough for the requested operation.. Looks up a localized string similar to Cannot create directory.. Looks up a localized string similar to Cannot determine Copy or Move action.. Looks up a localized string similar to Destination buffer not large enough for the requested operation.. Looks up a localized string similar to The device is not ready.. Looks up a localized string similar to Incorrectly implemented function attempting to generate exception from successful operation. . Looks up a localized string similar to The specified file is hidden: [{0}]. Looks up a localized string similar to The file or directory already exists.. Looks up a localized string similar to The handle is closed.. Looks up a localized string similar to The handle is invalid.. Looks up a localized string similar to The handle is invalid. Win32Error: [{0}]. Looks up a localized string similar to Creating hard-links on non-NTFS partitions is not supported.. Looks up a localized string similar to Illegal characters: [{0}] in path.. Looks up a localized string similar to An attempt to set an invalid file attribute failed.. Looks up a localized string similar to Invalid stream name.. Looks up a localized string similar to Invalid Subpath. Looks up a localized string similar to Invalid transaction request.. Looks up a localized string similar to Count cannot be negative.. Looks up a localized string similar to Destination offset cannot be negative.. Looks up a localized string similar to Length cannot be negative.. Looks up a localized string similar to Lock length cannot be negative.. Looks up a localized string similar to Offset cannot be negative.. Looks up a localized string similar to This stream does not support seeking.. Looks up a localized string similar to The file or directory is not a reparse point.. Looks up a localized string similar to Argument is not a valid Volume GUID.. Looks up a localized string similar to Path is a zero-length string or contains only white space.. Looks up a localized string similar to Privilege name cannot be empty.. Looks up a localized string similar to Incomplete header read.. Looks up a localized string similar to This method requires Windows Vista or higher.. Looks up a localized string similar to Invalid security descriptor returned from system.. Looks up a localized string similar to Source offset and length outside the bounds of the array. Looks up a localized string similar to The target directory is a file, not a directory: [{0}]. Looks up a localized string similar to The target file is a directory, not a file: [{0}]. Looks up a localized string similar to Transaction already aborted.. Looks up a localized string similar to Transaction already committed.. Looks up a localized string similar to Invalid transaction object.. Looks up a localized string similar to Transaction not active.. Looks up a localized string similar to Transaction not requested.. Looks up a localized string similar to Transactional conflict.. Looks up a localized string similar to Network share path should match the format: \\server\share. Looks up a localized string similar to Backup FileStream Unlock Position must not be negative.. Looks up a localized string similar to The given path's format is not supported: [{0}]. Represents a block of native memory of a specified size allocated using the LocalAlloc function from Kernel32.dll. Creates new instance with zero IntPtr. Initializes a new instance of the class allocating the specified number of bytes of unmanaged memory. The capacity. Called when object is disposed or finalized. Base class for classes representing a block of unmanaged memory. Initializes a new instance of the specifying the allocated capacity of the memory block. The capacity. Gets the capacity. Only valid if this instance was created using a constructor that specifies the size, it is not correct if this handle was returned by a native method using p/invoke. Copies data from a one-dimensional, managed 8-bit unsigned integer array to the unmanaged memory pointer referenced by this instance. The one-dimensional array to copy from. The zero-based index into the array where Copy should start. The number of array elements to copy. Copies data from an unmanaged memory pointer to a managed 8-bit unsigned integer array. The array to copy to. The zero-based index in the destination array where copying should start. The number of array elements to copy. Copies data from this unmanaged memory pointer to a managed 8-bit unsigned integer array. The offset in the buffer to start copying from. The array to copy to. The zero-based index in the destination array where copying should start. The number of array elements to copy. Marshals data from a managed object to an unmanaged block of memory. Marshals data from an unmanaged block of memory to a newly allocated managed object of the specified type. A managed object containing the data pointed to by the ptr parameter. Allocates a managed System.String and copies a specified number of characters from an unmanaged Unicode string into it. A managed string that holds a copy of the unmanaged string if the value of the ptr parameter is not null; otherwise, this method returns null. Allocates a managed System.String and copies all characters up to the first null character from an unmanaged Unicode string into it. A managed string that holds a copy of the unmanaged string if the value of the ptr parameter is not null; otherwise, this method returns null. Implements an ISO-3309 compliant 64-bit CRC hash algorithm. Initializes a new instance of Initializes a new instance of The polynomial. The seed. Initializes an implementation of the class. When overridden in a derived class, routes data written to the object into the hash algorithm for computing the hash. The input to compute the hash code for.. The offset into the byte array from which to begin using data. The number of bytes in the byte array to use as data. Finalizes the hash computation after the last data is processed by the cryptographic stream object. This method finalizes any partial computation and returns the correct hash value for the data stream. Gets the size, in bits, of the computed hash code. The size, in bits, of the computed hash code. Calculates the hash. The seed. The table. The buffer. The start. The size. The calculated hash. Int 64 to big endian bytes. The value. A byte[]. Initializes the table. The polynomial. An ulong[]. Creates a table. The polynomial. A new array of ulong. Enum containing the supported hash types. CRC-32 (Cyclic Redundancy Check) CRC-64 ISO-3309 compliant. MD5 (Message digest) RIPEMD-160 is a 160-bit cryptographic hash function. It is intended for use as a replacement for the 128-bit hash functions MD4, MD5, and RIPEMD. SHA-1 (Secure Hash Algorithm) SHA-256 (Secure Hash Algorithm) SHA-384 (Secure Hash Algorithm) SHA-512 (Secure Hash Algorithm) The ObjectType (SE_OBJECT_TYPE) enumeration contains values that correspond to the types of Windows objects that support security. The functions, such as GetSecurityInfo and SetSecurityInfo, that set and retrieve the security information of an object, use these values to indicate the type of object. Unknown object type. Indicates a file or directory. The name string that identifies a file or directory object can be in one of the following formats: A relative path, such as FileName.dat or ..\FileName An absolute path, such as FileName.dat, C:\DirectoryName\FileName.dat, or G:\RemoteDirectoryName\FileName.dat. A UNC name, such as \\ComputerName\ShareName\FileName.dat. Indicates a Windows service. A service object can be a local service, such as ServiceName, or a remote service, such as \\ComputerName\ServiceName. Indicates a printer. A printer object can be a local printer, such as PrinterName, or a remote printer, such as \\ComputerName\PrinterName. Indicates a registry key. A registry key object can be in the local registry, such as CLASSES_ROOT\SomePath or in a remote registry, such as \\ComputerName\CLASSES_ROOT\SomePath. The names of registry keys must use the following literal strings to identify the predefined registry keys: "CLASSES_ROOT", "CURRENT_USER", "MACHINE", and "USERS". Indicates a network share. A share object can be local, such as ShareName, or remote, such as \\ComputerName\ShareName. Indicates a local kernel object. The GetSecurityInfo and SetSecurityInfo functions support all types of kernel objects. The GetNamedSecurityInfo and SetNamedSecurityInfo functions work only with the following kernel objects: semaphore, event, mutex, waitable timer, and file mapping. Indicates a window station or desktop object on the local computer. You cannot use GetNamedSecurityInfo and SetNamedSecurityInfo with these objects because the names of window stations or desktops are not unique. Indicates a directory service object or a property set or property of a directory service object. The name string for a directory service object must be in X.500 form, for example: CN=SomeObject,OU=ou2,OU=ou1,DC=DomainName,DC=CompanyName,DC=com,O=internet Indicates a directory service object and all of its property sets and properties. Indicates a provider-defined object. Indicates a WMI object. Indicates an object for a registry entry under WOW64. The SECURITY_DESCRIPTOR_CONTROL data type is a set of bit flags that qualify the meaning of a security descriptor or its components. Each security descriptor has a Control member that stores the SECURITY_DESCRIPTOR_CONTROL bits. SE_OWNER_DEFAULTED (0x0001) - Indicates an SD with a default owner security identifier (SID). You can use this bit to find all of the objects that have default owner permissions set. SE_GROUP_DEFAULTED (0x0002) - Indicates an SD with a default group SID. You can use this bit to find all of the objects that have default group permissions set. SE_DACL_PRESENT (0x0004) - Indicates an SD that has a discretionary access control list (DACL). If this flag is not set, or if this flag is set and the DACL is NULL, the SD allows full access to everyone. SE_DACL_DEFAULTED (0x0008) - Indicates an SD with a default DACL. For example, if an object creator does not specify a DACL, the object receives the default DACL from the access token of the creator. This flag can affect how the system treats the DACL, with respect to access control entry (ACE) inheritance. The system ignores this flag if the SE_DACL_PRESENT flag is not set. SE_SACL_PRESENT (0x0010) - Indicates an SD that has a system access control list (SACL). SE_SACL_DEFAULTED (0x0020) - Indicates an SD with a default SACL. For example, if an object creator does not specify an SACL, the object receives the default SACL from the access token of the creator. This flag can affect how the system treats the SACL, with respect to ACE inheritance. The system ignores this flag if the SE_SACL_PRESENT flag is not set. SE_DACL_AUTO_INHERIT_REQ (0x0100) - Requests that the provider for the object protected by the SD automatically propagate the DACL to existing child objects. If the provider supports automatic inheritance, it propagates the DACL to any existing child objects, and sets the SE_DACL_AUTO_INHERITED bit in the security descriptors of the object and its child objects. SE_SACL_AUTO_INHERIT_REQ (0x0200) - Requests that the provider for the object protected by the SD automatically propagate the SACL to existing child objects. If the provider supports automatic inheritance, it propagates the SACL to any existing child objects, and sets the SE_SACL_AUTO_INHERITED bit in the SDs of the object and its child objects. SE_DACL_AUTO_INHERITED (0x0400) - Windows 2000 only. Indicates an SD in which the DACL is set up to support automatic propagation of inheritable ACEs to existing child objects. The system sets this bit when it performs the automatic inheritance algorithm for the object and its existing child objects. This bit is not set in SDs for Windows NT versions 4.0 and earlier, which do not support automatic propagation of inheritable ACEs. SE_SACL_AUTO_INHERITED (0x0800) - Windows 2000: Indicates an SD in which the SACL is set up to support automatic propagation of inheritable ACEs to existing child objects. The system sets this bit when it performs the automatic inheritance algorithm for the object and its existing child objects. This bit is not set in SDs for Windows NT versions 4.0 and earlier, which do not support automatic propagation of inheritable ACEs. SE_DACL_PROTECTED (0x1000) - Windows 2000: Prevents the DACL of the SD from being modified by inheritable ACEs. SE_SACL_PROTECTED (0x2000) - Windows 2000: Prevents the SACL of the SD from being modified by inheritable ACEs. SE_RM_CONTROL_VALID (0x4000) - Indicates that the resource manager control is valid. SE_SELF_RELATIVE (0x8000) - Indicates an SD in self-relative format with all of the security information in a contiguous block of memory. If this flag is not set, the SD is in absolute format. For more information, see Absolute and Self-Relative Security Descriptors. The SECURITY_INFORMATION data type identifies the object-related security information being set or queried. This security information includes: The owner of an object; The primary group of an object; The discretionary access control list (DACL) of an object; The system access control list (SACL) of an object; An unsigned 32-bit integer specifies portions of a SECURITY_DESCRIPTOR by means of bit flags. Individual bit values (combinable with the bitwise OR operation) are as shown in the following table. OWNER_SECURITY_INFORMATION (0x00000001) - The owner identifier of the object is being referenced. GROUP_SECURITY_INFORMATION (0x00000002) - The primary group identifier of the object is being referenced. DACL_SECURITY_INFORMATION (0x00000004) - The DACL of the object is being referenced. SACL_SECURITY_INFORMATION (0x00000008) - The SACL of the object is being referenced. LABEL_SECURITY_INFORMATION (0x00000010) - The mandatory integrity label is being referenced. The mandatory integrity label is an ACE in the SACL of the object. Windows Server 2003 and Windows XP: This bit flag is not available. ATTRIBUTE_SECURITY_INFORMATION (0x00000020) - The resource properties of the object being referenced. The resource properties are stored in SYSTEM_RESOURCE_ATTRIBUTE_ACE types in the SACL of the security descriptor. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP: This bit flag is not available. SCOPE_SECURITY_INFORMATION (0x00000040) - The Central Access Policy (CAP) identifier applicable on the object that is being referenced. Each CAP identifier is stored in a SYSTEM_SCOPED_POLICY_ID_ACE type in the SACL of the SD. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP: This bit flag is not available. BACKUP_SECURITY_INFORMATION (0x00010000) - All parts of the security descriptor. This is useful for backup and restore software that needs to preserve the entire security descriptor. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP: This bit flag is not available. UNPROTECTED_SACL_SECURITY_INFORMATION (0x10000000) - The SACL inherits ACEs from the parent object. UNPROTECTED_DACL_SECURITY_INFORMATION (0x20000000) - The DACL inherits ACEs from the parent object. PROTECTED_SACL_SECURITY_INFORMATION (0x40000000) - The SACL cannot inherit ACEs. PROTECTED_DACL_SECURITY_INFORMATION (0x80000000) - The DACL cannot inherit access control entries (ACEs). An IntPtr wrapper which can be used as the result of a Marshal.AllocHGlobal operation. Calls Marshal.FreeHGlobal when disposed or finalized. Creates new instance with zero IntPtr. Copies data from a one-dimensional, managed 8-bit unsigned integer array to the unmanaged memory pointer referenced by this instance. The one-dimensional array to copy from. The zero-based index into the array where Copy should start. The number of array elements to copy. Called when object is disposed or finalized. The AdjustTokenPrivileges function enables or disables privileges in the specified access token. Enabling or disabling privileges in an access token requires TOKEN_ADJUST_PRIVILEGES access. If the function succeeds, the return value is nonzero. To determine whether the function adjusted all of the specified privileges, call GetLastError. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The LookupPrivilegeDisplayName function retrieves the display name that represents a specified privilege. If the function succeeds, the return value is nonzero. If the function fails, it returns zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The LookupPrivilegeValue function retrieves the locally unique identifier (LUID) used on a specified system to locally represent the specified privilege name. If the function succeeds, the function returns nonzero. If the function fails, it returns zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The GetNamedSecurityInfo function retrieves a copy of the security descriptor for an object specified by name.   If the function succeeds, the return value is ERROR_SUCCESS. If the function fails, the return value is a nonzero error code defined in WinError.h.   Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The GetSecurityInfo function retrieves a copy of the security descriptor for an object specified by a handle. If the function succeeds, the function returns nonzero. If the function fails, it returns zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The SetSecurityInfo function sets specified security information in the security descriptor of a specified object. The caller identifies the object by a handle. If the function succeeds, the function returns ERROR_SUCCESS. If the function fails, it returns a nonzero error code defined in WinError.h. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The SetNamedSecurityInfo function sets specified security information in the security descriptor of a specified object. The caller identifies the object by name.   If the function succeeds, the function returns ERROR_SUCCESS. If the function fails, it returns a nonzero error code defined in WinError.h.   Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The GetSecurityDescriptorDacl function retrieves a pointer to the discretionary access control list (DACL) in a specified security descriptor. If the function succeeds, the function returns nonzero. If the function fails, it returns zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The GetSecurityDescriptorSacl function retrieves a pointer to the system access control list (SACL) in a specified security descriptor. If the function succeeds, the function returns nonzero. If the function fails, it returns zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The GetSecurityDescriptorGroup function retrieves the primary group information from a security descriptor. If the function succeeds, the function returns nonzero. If the function fails, it returns zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The GetSecurityDescriptorControl function retrieves a security descriptor control and revision information. If the function succeeds, the function returns nonzero. If the function fails, it returns zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The GetSecurityDescriptorOwner function retrieves the owner information from a security descriptor. If the function succeeds, the function returns nonzero. If the function fails, it returns zero. To get extended error information, call GetLastError. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] The GetSecurityDescriptorLength function returns the length, in bytes, of a structurally valid security descriptor. The length includes the length of all associated structures. If the function succeeds, the function returns the length, in bytes, of the SECURITY_DESCRIPTOR structure. If the SECURITY_DESCRIPTOR structure is not valid, the return value is undefined. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Frees the specified local memory object and invalidates its handle. If the function succeeds, the return value is . If the function fails, the return value is equal to a handle to the local memory object. To get extended error information, call GetLastError. SetLastError is set to . Note The local functions have greater overhead and provide fewer features than other memory management functions. New applications should use the heap functions unless documentation states that a local function should be used. For more information, see Global and Local Functions. Minimum supported client: Windows XP [desktop apps only] Minimum supported server: Windows Server 2003 [desktop apps only] Class used to represent the SECURITY_ATTRIBUES native Win32 structure. It provides initialization function from an object. Marshals an ObjectSecurity instance to unmanaged memory. A safe handle containing the marshalled security descriptor. The security descriptor. Implements a 32-bit CRC hash algorithm compatible with Zip etc. Crc32 should only be used for backward compatibility with older file formats and algorithms. It is not secure enough for new applications. If you need to call multiple times for the same data either use the HashAlgorithm interface or remember that the result of one Compute call needs to be ~ (XOR) before being passed in as the seed for the next Compute call. Initializes a new instance of Crc32. Initializes a new instance of Crc32. The polynomial. The seed. Initializes an implementation of the class. When overridden in a derived class, routes data written to the object into the hash algorithm for computing the hash. The input to compute the hash code for.. The offset into the byte array from which to begin using data. The number of bytes in the byte array to use as data. Finalizes the hash computation after the last data is processed by the cryptographic stream object. This method finalizes any partial computation and returns the correct hash value for the data stream. Gets the size, in bits, of the computed hash code. The size, in bits, of the computed hash code. Initializes the table. The polynomial. The table. Calculates the hash. The table. The seed. The buffer. The start. The size. The calculated hash. Int 32 to big endian bytes. The second uint 3. A byte[]. Represents a privilege for an access token. The privileges available on the local machine are available as static instances from this class. To create a representing a privilege on another system, use the constructor specifying a system name together with one of these static instances. Required to assign the primary token of a process. User Right: Replace a process-level token. Required to generate audit-log entries. Give this privilege to secure servers. User Right: Generate security audits. Required to perform backup operations. This privilege causes the system to grant all read access control to any file, regardless of the access control list (ACL) specified for the file. Any access request other than read is still evaluated with the ACL. User Right: Back up files and directories. Required to receive notifications of changes to files or directories. This privilege also causes the system to skip all traversal access checks. It is enabled by default for all users. User Right: Bypass traverse checking. Required to create named file mapping objects in the global namespace during Terminal Services sessions. This privilege is enabled by default for administrators, services, and the local system account. User Right: Create global objects. Windows XP/2000: This privilege is not supported. Note that this value is supported starting with Windows Server 2003, Windows XP SP2, and Windows 2000 SP4. Required to create a paging file. User Right: Create a pagefile. Required to create a permanent object. User Right: Create permanent shared objects. Required to create a symbolic link. User Right: Create symbolic links. Required to create a primary token. User Right: Create a token object. Required to debug and adjust the memory of a process owned by another account. User Right: Debug programs. Required to mark user and computer accounts as trusted for delegation. User Right: Enable computer and user accounts to be trusted for delegation. Required to impersonate. User Right: Impersonate a client after authentication. Windows XP/2000: This privilege is not supported. Note that this value is supported starting with Windows Server 2003, Windows XP SP2, and Windows 2000 SP4. Required to increase the base priority of a process. User Right: Increase scheduling priority. Required to increase the quota assigned to a process. User Right: Adjust memory quotas for a process. Required to allocate more memory for applications that run in the context of users. User Right: Increase a process working set. Required to load or unload a device driver. User Right: Load and unload device drivers. Required to lock physical pages in memory. User Right: Lock pages in memory. Required to create a computer account. User Right: Add workstations to domain. Required to enable volume management privileges. User Right: Manage the files on a volume. Required to gather profiling information for a single process. User Right: Profile single process. Required to modify the mandatory integrity level of an object. User Right: Modify an object label. Required to shut down a system using a network request. User Right: Force shutdown from a remote system. Required to perform restore operations. This privilege causes the system to grant all write access control to any file, regardless of the ACL specified for the file. Any access request other than write is still evaluated with the ACL. Additionally, this privilege enables you to set any valid user or group SID as the owner of a file. User Right: Restore files and directories. Required to perform a number of security-related functions, such as controlling and viewing audit messages. This privilege identifies its holder as a security operator. User Right: Manage auditing and security log. Required to shut down a local system. User Right: Shut down the system. Required for a domain controller to use the LDAP directory synchronization services. This privilege enables the holder to read all objects and properties in the directory, regardless of the protection on the objects and properties. By default, it is assigned to the Administrator and LocalSystem accounts on domain controllers. User Right: Synchronize directory service data. Required to modify the nonvolatile RAM of systems that use this type of memory to store configuration information. User Right: Modify firmware environment values. Required to gather profiling information for the entire system. User Right: Profile system performance. Required to modify the system time. User Right: Change the system time. Required to take ownership of an object without being granted discretionary access. This privilege allows the owner value to be set only to those values that the holder may legitimately assign as the owner of an object. User Right: Take ownership of files or other objects. This privilege identifies its holder as part of the trusted computer base. Some trusted protected subsystems are granted this privilege. User Right: Act as part of the operating system. Required to adjust the time zone associated with the computer's internal clock. User Right: Change the time zone. Required to access Credential Manager as a trusted caller. User Right: Access Credential Manager as a trusted caller. Required to undock a laptop. User Right: Remove computer from docking station. Required to read unsolicited input from a terminal device. User Right: Not applicable. Create a new representing the specified privilege on the specified system. Name of the system. The privilege to copy the privilege name from. Gets the system name identifying this privilege. The system name identifying this privilege. Retrieves the display name that represents this privilege. The display name that represents this privilege. Retrieves the locally unique identifier (LUID) used on to represent this privilege (on the system from which it originates). the locally unique identifier (LUID) used on to represent this privilege (on the system from which it originates). Indicates whether the current object is equal to another object of the same type. An object to compare with this object. if the current object is equal to the parameter; otherwise, . Determines whether the specified is equal to the current . The to compare with the current . if the specified is equal to the current ; otherwise, . Serves as a hash function for a particular type. A hash code for the current Object. Returns the system name for this privilege. This is equivalent to . A that represents the current . Initializes a new instance of the class, representing a privilege with the specified name on the local system. The name. Used to enable one or more privileges. The privileges specified will be enabled during the lifetime of the instance. Users create an instance of this object in a using statement to ensure that it is properly disposed when the elevated privileges are no longer needed. Initializes a new instance of the class. This will enable the privileges specified (unless already enabled), and ensure that they are disabled again when the object is disposed. (Any privileges already enabled will not be disabled). The privilege to enable. Additional privileges to enable. Makes sure any privileges enabled by this instance are disabled. Gets the enabled privileges. Note that this might not contain all privileges specified to the constructor. Only the privileges actually enabled by this instance is returned. The enabled privileges. This object is used to enable a specific privilege for the currently running process during its lifetime. It should be disposed as soon as the elevated privilege is no longer needed. For more information see the documentation on AdjustTokenPrivileges on MSDN. Initializes a new instance of the class and enabling the specified privilege for the currently running process. The name of the privilege. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. In this case the privilege previously enabled will be disabled. Adjusts the privilege. the privilege will be enabled, otherwise disabled. Use this to translate error codes into HRESULTs like 0x80070006 for ERROR_INVALID_HANDLE. (0) The operation completed successfully. (0) The operation completed successfully. (1) Incorrect function. (2) The system cannot find the file specified. (3) The system cannot find the path specified. (5) Access is denied. (15) The system cannot find the drive specified. (17) The system cannot move the file to a different disk drive. (18) There are no more files. (21) The device is not ready. (25) The drive cannot locate a specific area or track on the disk. (32) The process cannot access the file because it is being used by another process. (33) The process cannot access the file because another process has locked a portion of the file. (38) Reached the end of the file. (53) The network path was not found. (65) Network access is denied. (67) The network name cannot be found. (80) The file exists. (87) The parameter is incorrect. (122) The data area passed to a system call is too small. (123) The filename, directory name, or volume label syntax is incorrect. (143) The system cannot join or substitute a drive to or for a directory on the same drive. (145) The directory is not empty. (158) The segment is already unlocked. (183) Cannot create a file when that file already exists. (203) The system could not find the environment option that was entered. (234) More data is available. (267) The directory name is invalid. (995) The I/O operation has been aborted because of either a thread exit or an application request. (997) Overlapped I/O operation is in progress. (1200) The specified device name is invalid. (1208) An extended error has occurred. (1222) The network is not present or not started. (1235) The request was aborted. (1641) The requested operation completed successfully. The system will be restarted so the changes can take effect. (1783) The stub received bad data. (3010) The requested operation is successful. Changes will not be effective until the system is rebooted. (3011) The requested operation is successful. Changes will not be effective until the service is restarted. (4390) The file or directory is not a reparse point. (6009) The specified file is read only. (6012) Recovery policy configured for this system contains invalid recovery certificate. (6700) The transaction handle associated with this operation is not valid. (6701) The requested operation was made in the context of a transaction that is no longer active. (6702) The requested operation is not valid on the Transaction object in its current state. (6703) The caller has called a response API, but the response is not expected because the TM did not issue the corresponding request to the caller. (6704) It is too late to perform the requested operation, since the Transaction has already been aborted. (6705) It is too late to perform the requested operation, since the Transaction has already been committed. (6800) The function attempted to use a name that is reserved for use by another transaction. (6805) The remote server or share does not support transacted file operations. (0) The operation completed successfully. (0) The operation completed successfully. (2250) The network connection could not be found. (2310) This shared resource does not exist. (2314) There is not an open file with that identification number. (0) The operation completed successfully. Gets an attribute on an enum field value. The description belonging to the enum option, as a string One of the enum types. Indicates whether a specified string is null, empty, or consists only of white-space characters. if the parameter is null or , or if consists exclusively of white-space characters. The string to test. Converts a number of type T to string, suffixed with a unit size. Calculates a percentage value.