Create file directory on the AOS fileserver from code

WinAPIServer does not have createDirectory method, so best option is to use ClrInterop.

 static void createFileDirectory(Args _args)
{
     FilePath path;

     new InterOpPermission(InteropKind::ClrInterop).assert();

     System.IO.Directory::CreateDirectory(path);

     CodeAccessPermission::revertAssert();
}

This posting is provided "AS IS" with no warranties, and confers no rights.