As indicated in the header, how can I get the temp directory accessible to all users.
Path.GetTempPath() returns the temp directory for the current user.
Path.GetTempPath()
Environment.ExpandEnvironmentVariables(@"%SystemRoot%\Temp");
Remember that temporary directories pose a significant potential security risk, as they can be used to attack other users by decomposing shared data.