Вопрос

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".

Это было полезно?

Решение

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");
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top