C#使用MonoTorrent下载torrent

C#使用MonoTorrent下载torrent,c#,mono,download,monotorrent,torrent,C#,Mono,Download,Monotorrent,Torrent,我正在尝试下载一个torrent,问题是当我查看wireshark中的网络流量时,客户端似乎甚至没有尝试联系跟踪器。它正确读取torrent文件,visual studio不会显示任何错误 这是我正在使用的代码: public Form1() { EngineSettings settings = new EngineSettings(); settings.AllowedEncryption = EncryptionTypes.All; sett

我正在尝试下载一个torrent,问题是当我查看wireshark中的网络流量时,客户端似乎甚至没有尝试联系跟踪器。它正确读取torrent文件,visual studio不会显示任何错误

这是我正在使用的代码:

public Form1()
{
        EngineSettings settings = new EngineSettings();
        settings.AllowedEncryption = EncryptionTypes.All;
        settings.SavePath = Path.Combine(Environment.CurrentDirectory, "torrents");

        if (!Directory.Exists(settings.SavePath))
            Directory.CreateDirectory(settings.SavePath);

        engine = new ClientEngine(settings);

        engine.ChangeListenEndpoint(new IPEndPoint(IPAddress.Any, 6969));

        Torrent torrent = Torrent.Load("C:/Users/xxx/Google Drive/WindowsFormsApplication1/WindowsFormsApplication1/bin/Debug/kontakt.torrent");

        TorrentManager manager = new TorrentManager(torrent, engine.Settings.SavePath, new TorrentSettings());

        engine.Register(manager);

        manager.Start();
}

我真的很感激任何帮助,或者如果有人知道一些替代方案,你的代码对我来说很有用。确保你没有创建私人种子