<PackageReference Include="System.Configuration.ConfigurationManager" Version="10.0.5" />

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; } } }