Use VB.NET to Get Drive Info

Category:
System/API
Type:
Snippets
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility: Visual Basic.NET

More information:
In this snippet, we get an array of all the drives on the local machine, create a string builder to populate with all the drive info and then output the results.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: