We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Size of Logical Drives And Directories

Thread ID:





39454 Jan 9,2006 07:58 AM Feb 24,2006 07:35 AM Windows Forms 1
Tags: FAQ
Mukund Pujari
Asked On January 9, 2006 07:58 AM

Is there any direct method for knowing the size of logical drives or directories on the system using .NET?

Padma T. [Syncfusion]
Replied On February 24, 2006 07:35 AM

Hi, We can do that using ''GetDiskFreeSpaceExA()'' method of Kernel32.dll Please have a look on the sample attached. Thanks and Regards, Padma.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.