Используя инфраструктуру .net, вы можете создавать временные файлы с помощью
Path.GetTempFileName();
MSDN не сообщает нам, что происходит с временными файлами. Я помню, где-то читал, что они удаляются ОС при перезапуске. Это правда?
Если файлы не удаляются ОС, почему они называются временными? Это обычные файлы в обычном каталоге.