Mono Class Library: System.IO.Path Overview | MembersSystem.IO.Path.GetTempPath Method |
Returns the path information of a temporary directory. [Edit]
|
A string containing the full directory name of a temporary directory.
The information returned by this method is implementation-specific. Platforms that do not support this feature return string.Empty.
[Edit]
Type Reason System.Security.Permissions.EnvironmentPermission [Edit] Requires unrestricted access to environment variables. See System.Security.Permissions.PermissionState.Unrestricted.
Type Reason System.Security.SecurityException The caller does not have the required permission. [Edit]
On platforms that provide a mechanism for users to discover this information, (for example by checking an environment variable), implementations of the CLI return the same information as the implementation-specific mechanism. [Edit]
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0