How can I open a magnet link in a console app?
-
31-05-2021 - |
문제
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");
제휴하지 않습니다 StackOverflow