AetherNet.BitTorrent
3.0.0
dotnet add package AetherNet.BitTorrent --version 3.0.0
NuGet\Install-Package AetherNet.BitTorrent -Version 3.0.0
<PackageReference Include="AetherNet.BitTorrent" Version="3.0.0" />
<PackageVersion Include="AetherNet.BitTorrent" Version="3.0.0" />
<PackageReference Include="AetherNet.BitTorrent" />
paket add AetherNet.BitTorrent --version 3.0.0
#r "nuget: AetherNet.BitTorrent, 3.0.0"
#:package AetherNet.BitTorrent@3.0.0
#addin nuget:?package=AetherNet.BitTorrent&version=3.0.0
#tool nuget:?package=AetherNet.BitTorrent&version=3.0.0
AetherNet.BitTorrent
A from-scratch, interoperable BitTorrent implementation for .NET — the real protocol, not a look-alike. It speaks bencode, .torrent/magnet parsing, the SHA-1 info-hash, the BEP-3 peer-wire with rarest-first piece selection, HTTP + UDP trackers (BEP-3/15/23), Mainline DHT + PEX + ut_metadata (BEP-5/11/9/10), µTP (BEP-29), and BitTorrent v2 SHA-256 merkle hashing (BEP-52). Verified against MonoTorrent: given the same file, both compute the identical info-hash, so any real torrent client interoperates with it.
dotnet add package AetherNet.BitTorrent
using AetherNet.BitTorrent.Metainfo;
// Build a .torrent from a single file, then read back its info-hash
byte[] torrent = TorrentBuilder.CreateSingleFile("release.iso", fileBytes, pieceLength: 262144);
TorrentMetainfo meta = TorrentMetainfo.Parse(torrent);
Console.WriteLine(meta.InfoHashV1Hex); // 40-hex SHA-1 — identical to any real BitTorrent client
// Parse a magnet link
MagnetLink magnet = MagnetLink.Parse("magnet:?xt=urn:btih:...");
Console.WriteLine(magnet.InfoHashV1Hex);
Part of aether-protocol — an open-source, offline-first
mesh networking protocol. See the
BitTorrent section
for how a node joins a real swarm and bridges content into the offline mesh; AetherNet.BitTorrent.Gateway
provides that mesh bridge.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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 is compatible. 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. |
-
net10.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AetherNet.BitTorrent:
| Package | Downloads |
|---|---|
|
AetherNet.BitTorrent.Gateway
Gateway bridging external BitTorrent swarms into the AetherNet mesh: translates BitTorrent (SHA-1) pieces to AetherNet SHA-256 content chunks and back, so an internet-connected node can ingest a torrent and re-seed it to offline peers over the mesh chunk protocol. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0 | 147 | 7/18/2026 |