Make use of DriveInfo Class :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace ConsoleApplication1
{
public class Point
{
public Double Lat { get; set; }
public Double Lng { get; set; }
}
class Program
{
static void Main(string[] args)
{
DriveInfo[] drives = DriveInfo.GetDrives();
foreach (DriveInfo drive in drives)
{
Console.WriteLine("Name:{0}",drive.Name);
if (drive.IsReady)
{
Console.WriteLine("Size:{0}",drive.TotalSize);
Console.WriteLine("AvailableFreeSpace:{0}", drive.AvailableFreeSpace);
Console.WriteLine("DriveFormat:{0}", drive.DriveFormat);
Console.WriteLine("DriveType:{0}", drive.DriveType);
Console.WriteLine("TotalFreeSpace:{0}", drive.TotalFreeSpace);
Console.WriteLine("VolumeLabel:{0}", drive.VolumeLabel);
}
Console.ReadLine();
}
}
}
}