I need to determine, whether an application is allowed to delete a file or directory on file system. For that purpose I currently use the approach, decribed in
How do you check for permissions to write to a directory or file?. (I it for both, files and directories)
Unfortunately, the SecurityManager.IsGranted Method is marked as obsolete. http://msdn.microsoft.com
How can I do this check by using the suggested PermissionSet property
?