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.
Up arrow icon