If I create some file using Path.GetTempPath()
- does it automatically get deleted at some stage, or is it up to me to delete it?
No, you will need to manually delete the file. Path.GetTempPath()
just gives you the folder path to the temp folder.