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

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.
public string ApplicationName { get; set; }

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.

public IFileProvider ContentRootFileProvider { get; set; }

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.

public string ContentRootPath { get; set; }

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.

public string EnvironmentName { get; set; }

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.