IOHelperDoesDirectoryExist Method
Checks whether a directory exists.
Namespace: Configuration.HelperAssembly: Configuration.Helper (in Configuration.Helper.dll) Version: 2.0.5
public static bool DoesDirectoryExist(
string directoryName,
bool throwNotFound = false
)
- directoryName String
- Name of the file to check.
- throwNotFound Boolean (Optional)
- Throw an exception if the directory does not exist.
Boolean if the file exists, otherwise
is returned.