Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to connect to Tor and get html of onion-site with Xamarin?

$
0
0

Is it possible to send a GET request to Tor (to an .onion resource) from a mobile application with Xamarin?

If I understand correctly, then to send a request to the .onion site, the program must connect to the local Tor process or start it. How to do it with Xamarin?

I found the open-source iOS onion browser (github: /mtigas/OnionBrowser) — It uses Tor.framework (github: /iCepa/Tor.framework), which, as I understand it, allows running a local tor process on the iOS device. Is it possible to use this framework for Xamarin iOS?

Also I tried to try Knapcode.TorSharp (github: /joelverhagen/TorSharp) (not in the Xamarin Mobile project, in the new .NET Core 2 Console Application), but when I run the standard example, I get errors: The requested security protocol is not supported.

In general, how to connect to, for example, The Hidden Wiki .onion from a mobile application on Xamarin (not important, iOS or Android) and in response to connect the HTML code of the page? How to connect to Tor and get html of onion-site with Xamarin?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>