Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🍝 An all-in-one solution to fulfill your .NET dark web needs

License

NotificationsYou must be signed in to change notification settings

Zaczero/Tor4NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zaczero/Tor4NET logo

Build StatusGitHub ReleaseNuGet ReleaseLicense

An all-in-one solution to fulfill your .NET dark web needs.

Learn more about Torhere.
This library is built overTor.NET- thanks to Chris Copeland.

🌤️ Installation

Install with NuGet (recommended)

Install-Package Tor4NET

Install with dotnet

dotnet add PROJECT package Tor4NET

Install manually

Browse latest GitHub release

🏁 Getting started

Sample code

// Directory where Tor files are going to be stored.// If the directory does not exist, it will create one.vartorDirectory=Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments),"Tor4NET");// Use 64-bit Tor with 64-bit process.// It's *very* important for the architecture of Tor process match the one used by your app.// If no parameter is given Tor constructor will check Environment.Is64BitProcess property (the same one as below).varis32Bit=!Environment.Is64BitProcess;vartor=newTor(torDirectory,is32Bit);// Check for updates and install latest version.if(tor.CheckForUpdates().Result)tor.Install().Wait();// Disposing the client will exit the Tor process automatically.using(varclient=tor.InitializeClient()){varhttp=newWebClient{// And now let's use Tor as a proxy.Proxy=client.Proxy.WebProxy};varhtml=http.DownloadString("http://facebookcorewwwi.onion");}// Finally, you can remove all previously downloaded Tor files (optional).tor.Uninstall();

Footer

📧 Contact

📃 License

About

🍝 An all-in-one solution to fulfill your .NET dark web needs

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp