Method | Description | |
---|---|---|
ByteArrayToString ( byte ba ) : string | ||
EthminerReader ( int port ) : System |
Initialize ethminer instance that listens on certain UDP port for speed and DAG progress reports. You may have multiple instances, but each one must be listening on another port!
|
|
GetDAGprogress ( ) : uint |
Get DAG progress in %. It only reports correct progress if ethminer is launched with -D parameter.
|
|
GetIsRunning ( ) : bool |
Get if miner is still running.
|
|
GetLastActiveTime ( ) : System.DateTime |
Get DateTime when miner sent UDP status packet.
|
|
GetSpeed ( ) : double |
Get speed of miner in MH/s.
|
|
Start ( ) : void |
Start listening.
|
|
Stop ( ) : void |
Stop listening. Call this before application exits or if you are about to restart ethminer reader.
|
Method | Description | |
---|---|---|
workerTimer_Tick ( object sender, |
public ByteArrayToString ( byte ba ) : string | ||
ba | byte | |
return | string |
public EthminerReader ( int port ) : System | ||
port | int | UDP listening port. |
return | System |
public GetLastActiveTime ( ) : System.DateTime | ||
return | System.DateTime |