C# 클래스 NZBDash.Core.Services.WindowsHardwareService

상속: IHardwareService
파일 보기 프로젝트 열기: NZBDash/NZBDash

공개 메소드들

메소드 설명
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