FileSystemInfoExists Property |
Namespace: Alphaleonis.Win32.Filesystem
The Exists 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.