Runtime.OriginalWorkingDirectory Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the original working directory used when the application process was launched.
public static string? OriginalWorkingDirectory { get; }
static member OriginalWorkingDirectory : string
Property Value
The original working directory, or null if unavailable.
Remarks
This value is provided by the native runtime and may differ from the current working directory.