Click here to Skip to main content
15,901,283 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ....
i want to show all temporary files/ folder in a panel in C#.net windows application.
how can i do that?

Thanking You
Posted

1 solution

Hi,

Please refer MSDN article for that[^]

To show your temporary files/folders you need to get the location of your temporary folder and show your data in the Folder Explorer that you have created.

And to get temporary folder path you can use below code,
C#
string tempPath = Path.GetTempPath();


Hope this helps you,
Thanks
-Amit Gajjar
 
Share this answer
 
Comments
Prasad_Kulkarni 13-Sep-12 5:57am    
MSDN always best! +5
AmitGajjar 13-Sep-12 6:19am    
Yeh Thanks Again :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900