Question:
You are creating an assembly that interacts with the file system.
You need to configure a permission request so that the common language runtime (CLR) will stop loading the assembly if the necessary file permissions are absent.
Which attribute should you place in your code?
A <Assembly: FileIOPermission( SecurityAction.RequestOptional,_ AllLocalFiles: FileIOPermissionAccess.Read) >
B <Assembly: FileIOPermission( SecurityAction.RequestOptional,_ AllFiles=FileIOPermissionAccess. Read)_ >
C <Assembly: FileIOPermission( SecurityAction.RequestMinimum,_ AllLocalFiles:= FilelOPermissionAccess.Read)_ >
D <Assembly: FileIOPermission( SecurityAction.RequestRefuse,_ AllLocalFiies:= FilelOPermissionAccess.Read)_ >
+ AnswerC
+ Report