I'm making Winforms App. use Recycle bin.
I retrieve information in the recycle bin, but I can't get is the maximum size.
How do I get the maximum size of recycle bin?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Jun 10, 2011, 5:07 AM
If you're wondering how to associate a particular GUID with a drive letter, then there is an API function, GetVolumeNameForVolumeMountPoint which can do this.
See (http://msdn.microsoft.com/en-us/library/aa364994(VS.85).aspx) and also to P/Invoke it from C# (http://www.pinvoke.net/default.aspx/kernel32.getvolumenameforvolumemountpoint).
Chang Hee LeePosted Jun 9, 2011, 11:12 PM
However, do you know get maximum size when have multiple hdd partition?
Volume Key have lots of a children key when have 2 more partition.
how can solve it?
VulpesPosted Jun 9, 2011, 10:59 AM
As I'm sure you'll know, you can get at this property programatically using the Microsoft.Win32.Registry class (http://msdn.microsoft.com/en-us/library/microsoft.win32.registry.aspx).
Chang Hee LeePosted Jun 9, 2011, 9:38 AM
a Maximum size like under image.
VulpesPosted Jun 8, 2011, 1:44 PM
Off the top of my head, I'd have thought that the maximum size of the Recycle Bin would (like any other folder) depend on the file system.