0

Possible Duplicate:
How do I retrieve disk information in C#?

hi dudes. I wanna a code in c# 2010 which gets the free space of the drive.

Community
  • 1
  • 1
Krish
  • 137
  • 1
  • 3
  • 12
  • There is no such thing as `C# 2010` -- you probably mean C# 4 (which ships with Visual Studio 2010) – Cameron Feb 04 '11 at 06:37

1 Answers1

1

you can use DriveInfo and use the property TotalFreeSpace

Sachin Shanbhag
  • 54,530
  • 11
  • 89
  • 103