Skip to content

Client.Swarm

Adrian Macal edited this page Mar 22, 2017 · 5 revisions

SwarmClient is the class which allows you to collaborate with the entire swarm.

The following code demonstrates the simplest usage.

string tracker = "http://bttracker.debian.org:6969/announce";
FileHash hash = FileHash.Parse("883c6f02fc46188ac17ea49c13c3e9d97413a5a2");

SwarmClient.Download("d:\\leak", hash, tracker);
Clone this wiki locally