C# Class NiceHashMiner.Devices.ComputeDeviceManager.Avaliable

Show file Open project: nicehash/NiceHashMiner

Public Properties

Property Type Description
AMDOpenCLPlatformNum int
AllAvaliableDevices List
CPUsCount int
GPUsCount int
HasAMD bool
HasCPU bool
HasNVIDIA bool

Public Methods

Method Description
GetCurrentlySelectedComputeDevice ( int index, bool unique ) : ComputeDevice
GetDeviceWithUUID ( string uuid ) : ComputeDevice
GetSameDevicesTypeAsDeviceWithUUID ( string uuid ) : List

Method Details

GetCurrentlySelectedComputeDevice() public static method

public static GetCurrentlySelectedComputeDevice ( int index, bool unique ) : ComputeDevice
index int
unique bool
return ComputeDevice

GetDeviceWithUUID() public static method

public static GetDeviceWithUUID ( string uuid ) : ComputeDevice
uuid string
return ComputeDevice

GetSameDevicesTypeAsDeviceWithUUID() public static method

public static GetSameDevicesTypeAsDeviceWithUUID ( string uuid ) : List
uuid string
return List

Property Details

AMDOpenCLPlatformNum public static property

public static int AMDOpenCLPlatformNum
return int

AllAvaliableDevices public static property

public static List AllAvaliableDevices
return List

CPUsCount public static property

public static int CPUsCount
return int

GPUsCount public static property

public static int GPUsCount
return int

HasAMD public static property

public static bool HasAMD
return bool

HasCPU public static property

public static bool HasCPU
return bool

HasNVIDIA public static property

public static bool HasNVIDIA
return bool