MonoTorrent 2.0.0-alpha.unstable.rev0017

Suggested Alternatives

MonoTorrent 3.0.1

This is a prerelease version of MonoTorrent.
There is a newer version of this package available.
See the version list below for details.
dotnet add package MonoTorrent --version 2.0.0-alpha.unstable.rev0017
                    
NuGet\Install-Package MonoTorrent -Version 2.0.0-alpha.unstable.rev0017
                    
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="MonoTorrent" Version="2.0.0-alpha.unstable.rev0017" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MonoTorrent" Version="2.0.0-alpha.unstable.rev0017" />
                    
Directory.Packages.props
<PackageReference Include="MonoTorrent" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MonoTorrent --version 2.0.0-alpha.unstable.rev0017
                    
#r "nuget: MonoTorrent, 2.0.0-alpha.unstable.rev0017"
                    
#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.
#:package MonoTorrent@2.0.0-alpha.unstable.rev0017
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MonoTorrent&version=2.0.0-alpha.unstable.rev0017&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=MonoTorrent&version=2.0.0-alpha.unstable.rev0017&prerelease
                    
Install as a Cake Tool

Warning

This release contains API breaking changes in comparison to MonoTorrent 1.x series. There may be further API breakages before 2.x is finalised.

General

Changes since previous alpha:

  • EngineSettings and TorrentSettings are now immutable objects. You can use EngineSettingsBuilder and TorrentSettingsBuilder to create a new Settings object from scratch, or to create one based on an existing Settings object. Once a new immutable Settings object has been created, you must call ClientEngine.UpdateSettingsAsync or TorrentManager.UpdateSettingsAsync, as appropriate. The new settings will have been applied once the returned Task completes. If any listen ports are altered, and port forwarding is enabled, the old port will be unmapped and the new port will be mapped.

  • Any EngineSetting associated with a TCP or UDP port can be set to '-1' to disable the feature, '0' to dynamically select any available port, or a specific port number to bind to. If '0' is specified and port forwarding is enabled, the dynamically bound port will be forwarded automatically.

  • Small tweak to use a low-allocation custom implementation of SemaphoreSlim built on top of ReusableTask. Reduces allocations by about 25%.

  • Improved how the PiecePicker allocates blocks from a single piece to multiple peers. The new approach is less proactive about assigning multiple peers to a single block, which in turn greatly improves the efficiency of Incremental Hashing without affecting download speeds. Recent experiments have shown that over 98% of pieces can be hashed without having to write the block to disk and read it back at a later point.

  • MonoTorrent now defaults to using a 5 megabyte memory cache for pieces which need to be written to disk. This further improves the efficiency of Incremental Hashing as blocks which are received out-of-order will be available in-memory rather than having to be read from disk.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.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 was computed.  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 (2)

Showing the top 2 NuGet packages that depend on MonoTorrent:

Package Downloads
H.Runners.TorrentRunner

Allows you to download torrents.

BitTorrentStorage

Bit Torrent Storage

GitHub repositories (12)

Showing the top 12 popular GitHub repositories that depend on MonoTorrent:

Repository Stars
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
Prowlarr/Prowlarr
Prowlarr is an indexer manager/proxy built on the popular *arr .net/reactjs base stack to integrate with your various PVR apps, supporting management of both Torrent Trackers and Usenet Indexers.
Lidarr/Lidarr
Looks and smells like Sonarr but made for music.
Readarr/Readarr
Book Manager and Automation (Sonarr for Ebooks)
rogerfar/rdt-client
Real-Debrid Client Proxy
Whisparr/Whisparr
aelassas/wexflow
Workflow Engine and Automation Platform
IllusionMods/KKManager
Mod, plugin and card manager for games by Illusion that use BepInEx
immisterio/Lampac
insomniachi/Totoro
A Windows 10/11 only application that is a go to for all things anime.
Dixin/Blog
Code examples for blog https://weblogs.asp.net/dixin.
Version Downloads Last Updated
3.0.3-alpha.unstable.rev0049 708 9/14/2024
3.0.3-alpha.unstable.rev0024 99 8/28/2024
3.0.3-alpha.unstable.rev0003 115 8/19/2024
3.0.2 9,660 8/4/2024
3.0.1 368 8/2/2024
3.0.0 537 7/28/2024 3.0.0 is deprecated because it has critical bugs.
3.0.0-beta.rev0264 119 7/17/2024 3.0.0-beta.rev0264 is deprecated because it is no longer maintained.
3.0.0-beta.rev0240 147 6/30/2024 3.0.0-beta.rev0240 is deprecated because it is no longer maintained.
3.0.0-beta.rev0159 2,521 2/1/2023 3.0.0-beta.rev0159 is deprecated because it is no longer maintained.
3.0.0-beta.rev0157 202 2/1/2023 3.0.0-beta.rev0157 is deprecated because it is no longer maintained.
3.0.0-beta.rev0106 822 12/23/2022 3.0.0-beta.rev0106 is deprecated because it is no longer maintained.
3.0.0-beta.rev0104 182 12/15/2022 3.0.0-beta.rev0104 is deprecated because it is no longer maintained.
3.0.0-beta.rev0102 452 12/6/2022 3.0.0-beta.rev0102 is deprecated because it is no longer maintained.
3.0.0-beta.rev0068 291 11/12/2022 3.0.0-beta.rev0068 is deprecated because it is no longer maintained.
3.0.0-beta.rev0064 182 11/6/2022 3.0.0-beta.rev0064 is deprecated because it is no longer maintained.
3.0.0-beta.rev0050 172 11/2/2022 3.0.0-beta.rev0050 is deprecated because it is no longer maintained.
3.0.0-beta.rev0034 225 10/18/2022 3.0.0-beta.rev0034 is deprecated because it is no longer maintained.
3.0.0-beta.rev0015 237 9/26/2022 3.0.0-beta.rev0015 is deprecated because it is no longer maintained.
3.0.0-beta.rev0010 307 8/7/2022 3.0.0-beta.rev0010 is deprecated because it is no longer maintained.
3.0.0-beta.rev0000 257 7/10/2022 3.0.0-beta.rev0000 is deprecated because it is no longer maintained.
3.0.0-alpha.unstable.rev0233 199 7/8/2022 3.0.0-alpha.unstable.rev0233 is deprecated because it is no longer maintained.
3.0.0-alpha.unstable.rev0217 204 6/25/2022 3.0.0-alpha.unstable.rev0217 is deprecated because it is no longer maintained.
2.0.7 118,159 12/23/2022
2.0.6 5,570 7/19/2022 2.0.6 is deprecated because it is no longer maintained.
2.0.5 17,130 3/27/2022 2.0.5 is deprecated because it is no longer maintained.
2.0.4 321,979 1/13/2022 2.0.4 is deprecated because it is no longer maintained.
2.0.3 1,594 12/22/2021 2.0.3 is deprecated because it is no longer maintained.
2.0.2 1,410 12/4/2021 2.0.2 is deprecated because it is no longer maintained.
2.0.1 5,507 10/29/2021 2.0.1 is deprecated because it is no longer maintained.
2.0.0 15,648 5/4/2021 2.0.0 is deprecated because it is no longer maintained.
2.0.0-alpha.unstable.rev0193 313 4/3/2021 2.0.0-alpha.unstable.rev0193 is deprecated because it is no longer maintained.
2.0.0-alpha.unstable.rev0192 283 4/2/2021 2.0.0-alpha.unstable.rev0192 is deprecated because it is no longer maintained.
2.0.0-alpha.unstable.rev0167 277 3/18/2021 2.0.0-alpha.unstable.rev0167 is deprecated because it is no longer maintained.
2.0.0-alpha.unstable.rev0147 289 3/13/2021 2.0.0-alpha.unstable.rev0147 is deprecated because it is no longer maintained.
2.0.0-alpha.unstable.rev0132 299 2/25/2021 2.0.0-alpha.unstable.rev0132 is deprecated because it is no longer maintained.
2.0.0-alpha.unstable.rev0123 295 2/20/2021 2.0.0-alpha.unstable.rev0123 is deprecated because it is no longer maintained.
2.0.0-alpha.unstable.rev0122 269 2/18/2021 2.0.0-alpha.unstable.rev0122 is deprecated because it is no longer maintained.
2.0.0-alpha.unstable.rev0112 302 2/17/2021 2.0.0-alpha.unstable.rev0112 is deprecated because it is no longer maintained.
2.0.0-alpha.unstable.rev0107 320 2/10/2021 2.0.0-alpha.unstable.rev0107 is deprecated because it is no longer maintained.
2.0.0-alpha.unstable.rev0037 362 12/19/2020 2.0.0-alpha.unstable.rev0037 is deprecated because it is no longer maintained.
2.0.0-alpha.unstable.rev0031 349 12/18/2020 2.0.0-alpha.unstable.rev0031 is deprecated because it is no longer maintained.
2.0.0-alpha.unstable.rev0017 320 12/10/2020 2.0.0-alpha.unstable.rev0017 is deprecated because it is no longer maintained.
2.0.0-alpha.unstable.build1 375 12/7/2020 2.0.0-alpha.unstable.build1 is deprecated because it is no longer maintained.
1.0.30 1,464 1/7/2022 1.0.30 is deprecated because it is no longer maintained.
1.0.29 11,531 2/16/2021 1.0.29 is deprecated because it is no longer maintained.
1.0.28 7,312 11/25/2020 1.0.28 is deprecated because it is no longer maintained.
1.0.27 1,651 11/24/2020 1.0.27 is deprecated because it is no longer maintained.
1.0.26 1,473 11/24/2020 1.0.26 is deprecated because it is no longer maintained.
1.0.25 1,606 11/14/2020 1.0.25 is deprecated because it is no longer maintained.
1.0.24 2,584 8/12/2020 1.0.24 is deprecated because it is no longer maintained.
1.0.23 2,338 7/6/2020 1.0.23 is deprecated because it is no longer maintained.
1.0.22 5,435 5/26/2020 1.0.22 is deprecated because it is no longer maintained.
1.0.21 3,082 4/24/2020 1.0.21 is deprecated because it is no longer maintained.
1.0.20 2,005 4/13/2020 1.0.20 is deprecated because it is no longer maintained.
1.0.19 29,092 3/27/2020 1.0.19 is deprecated because it is no longer maintained.
1.0.18 2,506 3/16/2020 1.0.18 is deprecated because it is no longer maintained.
1.0.17 1,591 3/9/2020 1.0.17 is deprecated because it is no longer maintained.
1.0.16 1,628 3/3/2020 1.0.16 is deprecated because it is no longer maintained.
1.0.16-alpha 1,376 2/5/2020 1.0.16-alpha is deprecated because it is no longer maintained.
1.0.15 1,676 2/2/2020 1.0.15 is deprecated because it is no longer maintained.
1.0.14 1,520 1/30/2020 1.0.14 is deprecated because it is no longer maintained.
1.0.13 1,640 1/30/2020 1.0.13 is deprecated because it is no longer maintained.
1.0.12 1,675 1/16/2020 1.0.12 is deprecated because it is no longer maintained.
1.0.11 4,209 1/8/2020 1.0.11 is deprecated because it is no longer maintained.
1.0.10 2,136 12/11/2019 1.0.10 is deprecated because it is no longer maintained.
1.0.9 1,927 12/2/2019 1.0.9 is deprecated because it is no longer maintained.
1.0.9-beta 1,293 11/28/2019 1.0.9-beta is deprecated because it is no longer maintained.
1.0.8 1,642 11/19/2019 1.0.8 is deprecated because it is no longer maintained.
1.0.7 1,655 11/2/2019 1.0.7 is deprecated because it is no longer maintained.
1.0.6 1,576 11/1/2019 1.0.6 is deprecated because it is no longer maintained.
1.0.5 1,535 11/1/2019 1.0.5 is deprecated because it is no longer maintained.
1.0.4 1,604 10/30/2019 1.0.4 is deprecated because it is no longer maintained.
1.0.3 1,698 10/16/2019 1.0.3 is deprecated because it is no longer maintained.
1.0.2 1,668 9/27/2019 1.0.2 is deprecated because it is no longer maintained.
1.0.1 1,672 9/6/2019 1.0.1 is deprecated because it is no longer maintained.
1.0.0 1,807 9/6/2019 1.0.0 is deprecated because it is no longer maintained.
0.99.136-beta 1,367 9/6/2019 0.99.136-beta is deprecated because it is no longer maintained.
0.99.134-beta 1,337 9/5/2019 0.99.134-beta is deprecated because it is no longer maintained.
0.99.119-alpha 1,277 9/4/2019 0.99.119-alpha is deprecated because it is no longer maintained.
0.9.0 10,987 6/10/2011 0.9.0 is deprecated because it is no longer maintained.