Méthode | Description | |
---|---|---|
GetHistory ( string url, string username, string password ) : NzbGetHistory |
Gets the history.
|
|
GetLogs ( string url, string username, string password ) : |
Gets the logs.
|
|
GetNzbGetList ( string url, string username, string password ) : |
Get the NZBGet List
|
|
GetStatus ( string url, string username, string password ) : |
Gets the status.
|
|
NzbGetRestRequest ( IApiRequest request, ILogger logger ) : System.Net | ||
Restart ( string url, string username, string password ) : bool |
Restarts the specified URL.
|
|
SetDownloadLimit ( string url, string username, string password, int kbLimit ) : bool |
Sets the download limit.
|
|
SetDownloadStatus ( string url, string username, string password, bool pause ) : bool |
Sets the download status.
|
|
WriteLog ( string url, string username, string password, NzbLogType kind, string message ) : bool |
Writes the log.
|
Méthode | Description | |
---|---|---|
GenerateRpcBody ( string method ) : string |
Generates the JSON RPC body.
|
public GetHistory ( string url, string username, string password ) : NzbGetHistory | ||
url | string | The URL. |
username | string | The username. |
password | string | The password. |
Résultat | NzbGetHistory |
public GetLogs ( string url, string username, string password ) : |
||
url | string | The URL. |
username | string | The username. |
password | string | The password. |
Résultat |
public GetNzbGetList ( string url, string username, string password ) : |
||
url | string | The URL. |
username | string | The username. |
password | string | The password. |
Résultat |
public GetStatus ( string url, string username, string password ) : |
||
url | string | The URL. |
username | string | The username. |
password | string | The password. |
Résultat |
public NzbGetRestRequest ( IApiRequest request, ILogger logger ) : System.Net | ||
request | IApiRequest | |
logger | ILogger | |
Résultat | System.Net |
public Restart ( string url, string username, string password ) : bool | ||
url | string | The URL. |
username | string | The username. |
password | string | The password. |
Résultat | bool |
public SetDownloadLimit ( string url, string username, string password, int kbLimit ) : bool | ||
url | string | The URL. |
username | string | The username. |
password | string | The password. |
kbLimit | int | The kb limit. |
Résultat | bool |
public SetDownloadStatus ( string url, string username, string password, bool pause ) : bool | ||
url | string | The URL. |
username | string | The username. |
password | string | The password. |
pause | bool | if set to |
Résultat | bool |
public WriteLog ( string url, string username, string password, NzbLogType kind, string message ) : bool | ||
url | string | The URL. |
username | string | The username. |
password | string | The password. |
kind | NzbLogType | The kind. |
message | string | The message. |
Résultat | bool |