<PackageReference Include="Microsoft.ApplicationInsights" Version="2.22.0" />

Microsoft.ApplicationInsights.Extensibility.Implementation.Endpoints.IEndpointProvider

interface IEndpointProvider
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Endpoints { internal interface IEndpointProvider { string ConnectionString { get; set; } Uri GetEndpoint(EndpointName endpointName); string GetInstrumentationKey(); } }