Alex Rivera | Logout

Check if URL is a torrent in C# .NET

Asked 2010-04-28T18:19:23.287
12

What's the best way for me to take url like: http://foobar.com/foo.torrent and check if that really is a torrent, not a html page or something else funny. Suggestions? Thank you :)

Edit
Report

1 Answer

3

Probably best to download and validate it and/ or check the content type is application/x-bittorrent.

answered 2010-04-28T18:22:33.423

Your Answer