Creating temporary files on Windows using C# .NET

Exercises in .NET with Andras Nemes

It’s trivial to create a temporary file using the Path class in .NET. Let’s first see how to find the path to the current user’s temp folder:

In my case it returns C:Usersandras.nemesAppDataLocalTemp which is the same as the value of the TEMP environment variable at the user level on my PC.

View original post 47 more words

Advertisements
This entry was posted in Brian By Experience. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s