DriveInfo.RootDirectory
Imports System Imports System.IO Public Class MainClass Shared Sub Main() For Each drive_info As DriveInfo In DriveInfo.GetDrives() Console.Write(drive_info.Name & " " ) Console.WriteLine(drive_info.RootDirectory.ToString) Next drive_info End Sub End Class
1. | DriveInfo.AvailableFreeSpace() | ||
2. | DriveInfo.DriveFormat() | ||
3. | DriveInfo.DriveType() | ||
4. | DriveInfo.GetDrives() | ||
5. | DriveInfo.IsReady() | ||
6. | DriveInfo.Name | ||
7. | DriveInfo.TotalFreeSpace() | ||
8. | DriveInfo.VolumeLabel() |