试题详情
- 多项选择题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
关注下方微信公众号,在线模考后查看
热门试题