dcsimg
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

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


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
 
Thanks for your registration, follow us on our social networks to keep up-to-date