Returns the application's current working directory.
A string containing the path of the current working directory.
Platforms that do not support this feature return string.Empty.
Type Reason System.Security.Permissions.FileIOPermission Requires permission to access path information for the current directory. See System.Security.Permissions.FileIOPermissionAccess.PathDiscovery
Type Reason System.Security.SecurityException The caller does not have the required permission. UnauthorizedAccessException The caller does not have the required permission.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0