示例#1
0
 /// <summary>
 /// Create the given directory.
 /// </summary>
 public static void CreateDirectory(string path)
 {
     if (!Direct.CreateDirectoryW(path, IntPtr.Zero))
     {
         throw ErrorHelper.GetIoExceptionForLastError(path);
     }
 }