DelugeRPCClient.Net 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package DelugeRPCClient.Net --version 1.0.0                
NuGet\Install-Package DelugeRPCClient.Net -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DelugeRPCClient.Net" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DelugeRPCClient.Net --version 1.0.0                
#r "nuget: DelugeRPCClient.Net, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DelugeRPCClient.Net as a Cake Addin
#addin nuget:?package=DelugeRPCClient.Net&version=1.0.0

// Install DelugeRPCClient.Net as a Cake Tool
#tool nuget:?package=DelugeRPCClient.Net&version=1.0.0                

DelugeRPCClient.Net

.Net DelugeWeb RPC Client is a refactorisation of the great work done by SilverCard on DelugeWebClient


This library allows you to connect to the delugeweb RPC API. Some methods have been implemented, others will come according to needs or requests. The library targets multiple frameworks :

  • .Net Core 3.1
  • .Net Core 5
  • .Net Core 6
  • .NET Standard 2.0
  • .NET 4.8

Create a DelugeClient Object

DelugeClient client = new DelugeClient(url: Constants.DelugeUrl, password: Constants.DelugePassword);

Authentification

Login
bool loginResult = await client.Login();
Logout
bool logoutResult = await client.Logout();

Torrents

List and Get torrents

List torrents

DelugeClient client = new DelugeClient(url: Constants.DelugeUrl, password: Constants.DelugePassword);
bool loginResult = await client.Login();
List<Torrent> torrents = await client.ListTorrents();
bool logoutResult = await client.Logout();

Get torrent by hash

DelugeClient client = new DelugeClient(url: Constants.DelugeUrl, password: Constants.DelugePassword);
bool loginResult = await client.Login();
Torrent torrent = await client.GetTorrent(torrentHash);
bool logoutResult = await client.Logout();
Add Torrent

Add a torrent by magnet uri

bool loginResult = await client.Login();
Torrent torrent = await client.AddTorrentByMagnet(torrentMagnetUri);
bool logoutResult = await client.Logout();

Add a torrent by .torrent file

bool loginResult = await client.Login();
Torrent torrent = await client.AddTorrentByFile(torrentFilename);
bool logoutResult = await client.Logout();
Remove Torrent
bool loginResult = await client.Login();
bool removeTorrentResult = await client.RemoveTorrent(torrentHash);
bool logoutResult = await client.Logout();
Pause and Resume Torrent

Pause Torrent

bool loginResult = await client.Login();
bool pauseResult = await client.PauseTorrent(torrentHash);
bool logoutResult = await client.Logout();

Resume Torrent

bool loginResult = await client.Login();
bool resumeResult = await client.ResumeTorrent(torrentHash);
bool logoutResult = await client.Logout();

Labels

List existing labels
bool loginResult = await client.Login();
List<string> labels = await client.ListLabels();
bool logoutResult = await client.Logout();
Check if a label exists
bool loginResult = await client.Login();
bool exists = await client.LabelExists(label);
bool logoutResult = await client.Logout();
Add a new label
bool loginResult = await client.Login();
bool addLabelResult = await client.AddLabel(label);
bool logoutResult = await client.Logout();
Remove an existing label
bool loginResult = await client.Login();
bool removeLabelResult = await client.RemoveLabel(label);
bool logoutResult = await client.Logout();
Assing a label to a torrent (if label dont exists it will be created)
bool loginResult = await client.Login();
bool assignResult = await client.SetTorrentLabel(torrentHash, label);
bool logoutResult = await client.Logout();
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.5 88 11/4/2024
1.0.4 82 10/29/2024
1.0.3 86 10/27/2024
1.0.2 458 5/4/2022
1.0.1 341 5/4/2022
1.0.0 387 5/4/2022