CpuTemperature Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
CPU temperature. On Windows, the value returned is driver dependent and may not represent actual CPU temperature, but more one of the case sensors. Use OpenHardwareMonitor for better environmental representation in Windows.
public class CpuTemperature
public sealed class CpuTemperature : IDisposable
[System.Device.Model.Interface("CPU temperature")]
public sealed class CpuTemperature : IDisposable
type CpuTemperature = class
type CpuTemperature = class
interface IDisposable
[<System.Device.Model.Interface("CPU temperature")>]
type CpuTemperature = class
interface IDisposable
Public Class CpuTemperature
Public NotInheritable Class CpuTemperature
Implements IDisposable
- Inheritance
-
CpuTemperature
- Attributes
- Implements
Constructors
CpuTemperature() |
Creates an instance of the CpuTemperature class |
Properties
IsAvailable |
Is CPU temperature available |
Temperature |
Gets CPU temperature |
Methods
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
ReadTemperatures() |
Returns all known temperature sensor values. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for