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?()
ARetrieve an instance of the FileSystemInfo class.
BRetrieve an instance of the DriveInfo class.
CRetrieve the drive capacity by using the DriveInfo.TotalSize property.
DDetermine if the drive is available by using the FileSystemInfo.Attributes property.
ERetrieve the drive names of all logical drives on a computer by using the DriveInfo.GetDrives method.
FRetrieve the drive capacity by using the FileSystemInfo.Attributes property.