Get A Temporary Filename


  • You need a temporary filename so you can write/read something


  • Use System.IO.Path to create a real temporary filename for you.

Sample code:

using System.IO;
string tempFilename = Path.GetTempFileName();

Relevant Links:

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License