UtilCreateDirectoryForFileIfNotExists Method |
It only creates one level of directory. If the directory already exists, nothing is done.
The method returns false if it was not possible to create directory, becase the parent directory did not exists either. Otherwise it returns true.
Namespace: DHI.Mike1D.Generic
public static bool CreateDirectoryForFileIfNotExists( string fileName )