Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Comments
- Anonymous
June 18, 2008
PingBack from http://axaptasource.com/2008/06/create-file-directory-on-the-aos-fileserver-from-code-8/