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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Jun 10, 2011, 1:07 AM EDT
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).
VulpesRank #55 · 29.2K reputationPosted Jun 8, 2011, 9:44 AM EDT
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.
Chang Hee Lee11 reputationPosted Jun 9, 2011, 5:38 AM EDT
a Maximum size like under image.
VulpesRank #55 · 29.2K reputationPosted Jun 9, 2011, 6:59 AM EDT
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 Lee11 reputationPosted Jun 9, 2011, 7:12 PM EDT
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?