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

Microsoft.ApplicationInsights.Extensibility.Implementation.IPlatform

interface IPlatform
Encapsulates platform-specific functionality required by the API.
namespace Microsoft.ApplicationInsights.Extensibility.Implementation { internal interface IPlatform { string ReadConfigurationXml(); IDebugOutput GetDebugOutput(); bool TryGetEnvironmentVariable(string name, out string value); string GetMachineName(); } }