Question

WebClient's openread don't seem to do the job, in what other way can I open magnet links? uTorrent is the default handler so I need the links "executed".

Était-ce utile?

La solution

You should be able to do this with Process.Start. I know this works for HTTP URLs (launching them in your default Web browser), so if your system has magnet URLs associated with uTorrent, then this should launch the URL in uTorrent.

Process.Start("magnet:?xt=urn:sha1:YNCKHTQCWBTRNJIV4WNAE52SJUQCZO5C");
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top