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. Image for the cookie policy date

Size of Logical Drives And Directories

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

1 Reply

PT Padma T. Syncfusion Team February 24, 2006 12:35 PM UTC

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

DriveInfo.zip

Loader.
Live Chat Icon For mobile
Up arrow icon