dcsimg
LinkedIn
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: .NET
Expertise: Advanced
Mar 26, 2019

Get the Path to the Temporary Folder in the Operating System

Use the GetTempPath method to retrieve the temp file path in a machine.

Please note that it also varies from one operating system to other.

string tempFilePath = System.IO.Path.GetTempPath();
Srinath M S
 
Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date