多项选择题
A.Retrieve an instance of the FileSystemInfo class.
B.Retrieve an instance of the DriveInfo class.
C.Retrieve the drive capacity by using the DriveInfo.TotalSize property.
D.Determine if the drive is available by using the FileSystemInfo.Attributes property.
E.Retrieve the drive names of all logical drives on a computer by using the DriveInfo.GetDrives method.
F.Retrieve the drive capacity by using the FileSystemInfo.Attributes property.
单项选择题 You work as an application developer at Certkiller .com. You would like to create a custom performance counter for an application that you created recently. To do this, you decide to create a custom category named ApplicationPerformance and a performance counter named HitNumber.You need to ensure that this counter is shared across numerous applications. What should you do?()
多项选择题 Youaredevelopinganapplicationtocreateanewfileonthelocalfilesystem.Youneedtodefinespecificsecuritysettingsforthefile.Youmustdenythefileinheritanceofanydefaultsecuritysettingsduringcreation.Whatshouldyoudo?()
单项选择题 You work as an application developer at Certkiller .com. Certkiller .com is currently using a performance counter named HitCounter. You are required to increment each time a user accesses the UI classes within the application. To do this, you start by creating performance counters using the following code: You have to adjust the HitCounter performance counter when a hit occurs. What should you do?()