fedarovich / qbittorrent-net-client

qBittorrent client library for .Net
MIT License
32 stars 14 forks source link

[Suggestion] Add magnet support #6

Closed HadiSDev closed 4 years ago

HadiSDev commented 4 years ago

Hey.

Is it possible to get magnet url support?

fedarovich commented 4 years ago

Hello.

You can add a torrent by a magnet link in the current version. For example:

var request = new AddTorrentUrlsRequest(new Uri("magnet: ..."));
await client.AddTorrentsAsync(request);

Or did you mean something else?

HadiSDev commented 4 years ago

@fedarovich Oh thank. I actually tried this but did not realize it actually added the torrent. Thank you :)