As the title states, how can i get a temp directory acessible by all users.
Path.GetTempPath()
returns the temp directory for the current user.
Environment.ExpandEnvironmentVariables(@"%SystemRoot%\Temp");
Be aware though, that temp directories are a significant possible security risk, as they can be used to attack other users via corrupting shared data.
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