I have a query regarding the directory returned from Path.GetTempPath() function.
It returns "C:\Documents and Settings\USER\Local Settings\Temp" as the directory.
I am saving some temp files there and I am wondering when this folder is cleared, so I know how long they will exist, if it is cleared at all that is.
Is it every time I restart the computer? or is it after a certain amount of time? or space is used up?
A nice easy one for someone to answer for me!
Thanks
It gets cleared whenever the computer gets "cleaned up". This could be done a number of ways: manually by a user, through the Disk Cleanup tool, etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With