C# Класс NZBDash.Core.Services.WindowsHardwareService

Наследование: IHardwareService
Показать файл Открыть проект

Открытые методы

Метод Описание
GetAllNics ( ) : int>.Dictionary
GetAvailableRam ( ) : float

Gets the available ram.

GetCpuPercentage ( ) : float

Gets the cpu percentage of the current PC.

GetDrives ( ) : IEnumerable

Gets the drives.

GetNetworkInformation ( int nicId ) : NetworkInfo

Gets the network information.

GetRam ( ) : RamModel

Gets the ram.

GetUpTime ( ) : System.TimeSpan

Gets up time of the current PC.

Приватные методы

Метод Описание
GetDriveInfo ( ) : System.IO.DriveInfo[]
GetNetworkingDetails ( int nicId ) : NetworkInfo
GetRamInfo ( ) : Microsoft.VisualBasic.Devices.ComputerInfo

Описание методов

GetAllNics() публичный Метод

public GetAllNics ( ) : int>.Dictionary
Результат int>.Dictionary

GetAvailableRam() публичный Метод

Gets the available ram.
public GetAvailableRam ( ) : float
Результат float

GetCpuPercentage() публичный Метод

Gets the cpu percentage of the current PC.
public GetCpuPercentage ( ) : float
Результат float

GetDrives() публичный Метод

Gets the drives.
public GetDrives ( ) : IEnumerable
Результат IEnumerable

GetNetworkInformation() публичный Метод

Gets the network information.
public GetNetworkInformation ( int nicId ) : NetworkInfo
nicId int
Результат NZBDash.DataAccess.Api.NetworkInfo

GetRam() публичный Метод

Gets the ram.
public GetRam ( ) : RamModel
Результат NZBDash.UI.Models.Hardware.RamModel

GetUpTime() публичный Метод

Gets up time of the current PC.
public GetUpTime ( ) : System.TimeSpan
Результат System.TimeSpan