Path.GetTempPath Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns the path of the current system's temporary folder.
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| SecurityException | The caller does not have the required permissions. |
Version Notes
Windows Phone
This member has a SecurityCriticalAttribute attribute. This attribute restricts this member to internal use. Application code that uses this member throws a MethodAccessException.
XNA Framework
When this method is used in the XNA Framework, it throws a NotSupportedException exception.
Show: