Cannot get torrents list

Jun 22, 2013 at 12:29 PM

I'm writing a C# winforms application. First thing I'd like to do is retrieve the list of all torrents in my client (that is running on the same machine as my application).

Here's what I've done:
UTorrentClient client = new UTorrentClient(new System.Uri(""), "admin", "password");
That does not work, I get a ArgumentOutOfRange exception on the Count property as there is no item in the TorrentCollection.

I have correctly enabled the Web UI on µTorrent (I can access it on Firefox via ), so I'm not sure what I'm doing wrong here. Do you have an idea?
Oct 20, 2013 at 5:30 AM
What version of uTorrent are you using? Are there any exceptions thrown that are being swallowed on non-main threads, etc?
Oct 20, 2013 at 7:29 PM
I'm using µTorrent 2.2.1.

I didn't see any raised exception, so I don't think so.
Oct 22, 2013 at 4:14 AM
Edited Oct 22, 2013 at 4:21 AM
Unfortunately there are currently issues with supporting uTorrent 2.x because the properties are so different. I need to refactor the code to be much more flexible during deserialization. Tracked with [workitem:6].
Oct 22, 2013 at 11:16 AM
Ok, thanks for your reply.