Link Details

Link 130124 thumbnail
User 278445 avatar

By Shaharyr
via dev102.com
Published: Oct 30 2008 / 04:45

Before actually saving the file, I need to compute its anticipated size and compare it with the free disk space to see if there is enough storage for that operation. After searching a bit about how to get the free disk space, I came across the solution which uses the System.Management namespace.
  • 7
  • 0
  • 3360
  • 133

Comments

Add your comment
User 218789 avatar

eelmore replied ago:

0 votes Vote down Vote up Reply

Woot! I want some free disk space!

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (0)