I’m using FileIOPermission, and it’s throwing an error on me:
FileIOPermission fileIOPerm = new FileIOPermission(FileIOPermissionAccess.AllAccess, folderName);
string[] paths = fileIOPerm.GetPathList(FileIOPermissionAccess.AllAccess);`
Error is:
ArgumentException was unhandled – Must set exactly one flag.
I Googled this, there’s no info anywhere for this error.
From the MSDN documentation