For Developers

To get the path of temp folder in c#



System.Environment.GetEnvironmentVariable("TEMP")


or

System.IO.Path.GetTempPath()

above syntax gets the TEMP folder path of the system.

have a look about system.environment.getenvironmentvariable from the msdn link.

0 comments:

Post a Comment