Edit

Share via


IHostEnvironmentStatistics Interface

Definition

Caution

This functionality will be removed, use IEnvironmentStatisticsProvider.GetEnvironmentStatistics instead.

Functionality for accessing statistics relating to the hosting environment.

public interface IHostEnvironmentStatistics
[System.Obsolete("This functionality will be removed, use IEnvironmentStatisticsProvider.GetEnvironmentStatistics instead.")]
public interface IHostEnvironmentStatistics
type IHostEnvironmentStatistics = interface
[<System.Obsolete("This functionality will be removed, use IEnvironmentStatisticsProvider.GetEnvironmentStatistics instead.")>]
type IHostEnvironmentStatistics = interface
Public Interface IHostEnvironmentStatistics
Derived
Attributes

Properties

AvailableMemory

Gets the total memory available for allocation on the host in bytes.

CpuUsage

Gets the host CPU usage from 0.0-100.0.

TotalPhysicalMemory

Gets the total physical memory on the host in bytes.

Applies to