Public Class Tester
Public Shared Sub Main
Dim oneDrive As IO.DriveInfo = My.Computer.FileSystem.GetDriveInfo("C:\\")
Console.WriteLine(Format(oneDrive.TotalFreeSpace,"#,##0") & " bytes")
Console.WriteLine(Format(oneDrive.AvailableFreeSpace,"#,##0") & " bytes")
Console.WriteLine(Format(oneDrive.TotalSize,"#,##0") & " bytes")
End Sub
End Class
35,532,111,872 bytes
35,532,111,872 bytes
60,003,381,248 bytes