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

Microsoft.ApplicationInsights.Extensibility.IApplicationIdProvider

public interface IApplicationIdProvider
An interface for providing an Application Id for a given Instrumentation Key.
namespace Microsoft.ApplicationInsights.Extensibility { public interface IApplicationIdProvider { bool TryGetApplicationId(string instrumentationKey, out string applicationId); } }