You are creating an application that provides information about the local computer.The application contains a form that lists each logical drive along with the drive properties,such as type,volume label,and capacity.You need to write a procedure that retrieves properties of each logical drive on the local computer. What should you do?()
- 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.
正确答案:B,C,E
答案解析:有
微信扫一扫手机做题