<PackageReference Include="System.Configuration.ConfigurationManager" Version="11.0.0-preview.2.26159.112" />

System.Configuration.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; } } }