Sunday, January 14, 2007 9:10 PM
davidsmith
BTSharp 2.0 Architecture
When using an external library within your application, it's often useful to understand what's going on in the background. I hope achitectural explaination helps developers to conceptualize how to use BTSharp.
- The BTSharp Core Library - This is the BTSharp assembly, OkayPublish.BTSharp.dll. This is what you as a developer import into your .NET solution to enable BitTorrent powered file transfers.
- Third Party Application that uses BTSharp - This is where you come in, this is your application. The application you're developing that leverages BTSharp for P2P file transfers.
- BTSharp Reporting Services - This is what allows us to keep track of usage. Periodically, applications using BTSharp will report back to the reporting service.
- BTSharp User Interface Controls - The Design-time controls allow you to drag and drop user interfaces into your applications for debugging or production use.
- BTSharp Tracker (http://tracker2.btsharp.com/announce.aspx) - This default tracker is free for people using BTSharp. To use it, simply state http://tracker2.btsharp.com/announce.aspx as the tracker URL in your ShareInfo.
- Metafile Hosting (http://share.btsharp.com/) - Store your .share files with us. It's free, and we accomodate files up to 400 KB in size. We offer this service so that you don't need to own any servers to use BTSharp.
There is a public SOAP-based API for you to upload your files to us. When you invoke the "string Upload(byte[])" method, you are returned an identifier for your file. To access your file, simply reference the link http://share.btsharp.com/q.aspx?link=YOURFILEIDENTIFIER to download the .share file you uploaded to our servers.
- BTSharp Seeder Servers - Our seeder servers offer reliability of file transfers in the wild. There is a more complete description of the BTSharp Seeder Servers here.
