I'm trying to delete a file that is marked with the "read-only" attribute:
Wheneverthefileismarkedwiththisattribute,Igetthefollowingexception:
System.UnauthorizedAccessExceptionwasunhandled
Ifitisafilewhose"Read-only" attribute is unchecked, the deletion process is performed smoothly.