Or you can start one specific torrent by passing in that torrents ITorrentManager If you have loaded multiple torrents into the engine, you can start them all at once with this: TorrentManager = TorrentSettings.DefaultSettings) supplied when instantiating the engine torrentManager = This torrent would use the supplied settings instead of using the ones that were default settings that are set in the Engine. to the DefaultSaveLocation as specified in the EngineSettings and will inherit the
torrent can just be loaded from the disk. torrentManager =engine.LoadTorrent(new Uri(""), Alternatively a.
A torrent can be downloaded from the specified url, saved to the specified file and Instantiate a new engine with the engineSettings and Default Torrent settings.ĬlientEngine engine = new ClientEngine(engineSettings, torrentSettings) Each torrent will have 4 upload slots to allow 2.5kB/sec per slot. Each torrent will be allowed a max of 10kB/sec upload speed TorrentSettings torrentSettings = TorrentSettings.DefaultSettings Every torrent loaded into the engine for this session will start off with these default settings
be automatic download speed limiting to 5x the selected upload.ĮngineSettings.GlobalMaxUploadSpeed = 30 At upload speeds of less than 5kB/sec, there will go directly into this directory, multifile torrents will create a directory within thisĮngineSettings.DefaultSavePath = Maximum upload speed of 30 kB/sec. All files will be downloaded using this as the base directory. The default location to download files to on your HardDrive, like a downloads folder These are the default settings for the engine for this sessionĮngineSettings engineSettings = EngineSettings.DefaultSettings An ITorrentManager is passed out of the engine when you load a torrent.
LicensingĪll the modules in MonoTorrent are licensed under the MIT/X11 license, so anyone is free to use them as they will. NET Framework or Mono Framework, be it Windows, Linux, MacOs or other. As a result these libraries will function on any operating system that supports either the Microsoft. torrent files.Īll of these libraries were written with Mono in mind.
MonoTorrent is the product of Googles Summer of Code 2006.
For up to date information and samples please check at. Some of the information here is out of date. Visit the new documentation for updated content. This page is likely outdated (last edited on ).