You can always register a protocol from your desktop application (check this out). This can be used, in example, to open your desktop application with arbitrary data from the website. You could then have your desktop app send a HTTP request to your webserver, telling it what machine you are on.