<PackageReference Include="Microsoft.Extensions.Hosting" Version="11.0.0-preview.3.26207.106" />

Microsoft.Extensions.Hosting.Internal.HostingEnvironment

public class HostingEnvironment : IHostingEnvironment, IHostEnvironment
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
namespace Microsoft.Extensions.Hosting.Internal { public class HostingEnvironment : IHostingEnvironment, IHostEnvironment { public string EnvironmentName { get; set; } public string ApplicationName { get; set; } public string ContentRootPath { get; set; } public IFileProvider ContentRootFileProvider { get; set; } public HostingEnvironment(); } }