BTSharp Community Server

BTSharp (n.) - The best .NET library for your distributed transfer needs.
Welcome to BTSharp Community Server Sign in | Join | Help
in Search

Q: Can I use BTSharp to download files that are being shared by other non-BTSharp BitTorrent clients?

Last post 01-12-2007, 4:32 AM by davidsmith. 0 replies.
Sort Posts: Previous Next
  •  01-12-2007, 4:32 AM 21

    Q: Can I use BTSharp to download files that are being shared by other non-BTSharp BitTorrent clients?

    This question is also phrased as: "Can I use BTSharp to download generic .torrent files?"

    Yes! Of course!  Smile  We encourage it!

    1. Load the ShareInfo file as usual.  As in:

    ShareInfo shareInfo = ShareInfo.Load(@"c:\torrents\GreatSong.torrent");
    or
    ShareInfo shareInfo = ShareInfo.Load( new Uri("http://examplewebsite.com/GreatSong.torrent");

    2. Now use *your* BTSharp Content Provider Id to sponsor the download.  As in:

    if (shareInfo.NeedsSponsor)
    {
          shareInfo2.Sponsor("00000000-1111-0000-1111-39B2086DFB9B");
    }

    The download is now sponsored by you, and the end user can download it.

     

    Filed under:
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems