<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0-preview.6.23329.7" />

ExeContext

public sealed class ExeContext
Manages the path context for the current application. This class cannot be inherited.
namespace System.Configuration { public sealed class ExeContext { public ConfigurationUserLevel UserLevel { get; } public string ExePath { get; } internal ExeContext(ConfigurationUserLevel userContext, string exePath) { UserLevel = userContext; ExePath = exePath; } } }