I have a trivial "check for updates" feature in my desktop application, and all it does is basically this:
var url = new URL(urlString); var conn =