You need to find out whether an application has access to delete files from the C:\Logs directory.
Which code segment should you use?
A.
var permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery, “C:\\Logs”);
B.
var permission = new FileIOPermission (FileIOPermissionAccess.Read, “C:\\Logs”);
C.
var permission = new FileIOPermission(FileIOPermissionAccess.Write, “C:\\Logs”);
D.
var permission = new FileIOPermission(FileIOPermissionAccess.Append, “C:\\Logs”);