TrustComponent.TrustCaptcha 2.0.0

dotnet add package TrustComponent.TrustCaptcha --version 2.0.0
                    
NuGet\Install-Package TrustComponent.TrustCaptcha -Version 2.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TrustComponent.TrustCaptcha" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TrustComponent.TrustCaptcha" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="TrustComponent.TrustCaptcha" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TrustComponent.TrustCaptcha --version 2.0.0
                    
#r "nuget: TrustComponent.TrustCaptcha, 2.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=TrustComponent.TrustCaptcha&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=TrustComponent.TrustCaptcha&version=2.0.0
                    
Install as a Cake Tool

NuGet

TrustCaptcha for DotNet — GDPR-compliant, privacy-first CAPTCHA

Protect websites and apps against bots and spam with a privacy-first, EU-hosted CAPTCHA solution.

What is TrustCaptcha?

TrustCaptcha combines proof-of-work, an AI bot-score and custom security rules to stop automated bot abuse — without image marking or puzzles

Key perks:

  • Privacy-friendly & GDPR-compliant – data processed exclusively in Europe
  • No visual challenges – users never label images or solve quizzes
  • Fully themable widget – matches any brand and design and improves your user flow
  • Conversion-safe – near-zero user drop-off compared to legacy CAPTCHAs

Read the full TrustCaptcha product overview for technical details and the security concept.

Get started

  1. Create an account: sign up / sign in.
  2. Choose a CAPTCHA: pick an existing one or create a new one.
  3. Embed the widget: implement the TrustCaptcha widget into your website or app.
  4. Validate result: validate the CAPTCHA verification result in your backend.

Need a walkthrough? See the DotNet integration guide.

Basic DotNet integration

  1. Install the dependency
dotnet add package TrustCaptcha --version 2.0.0
  1. Retrieve the verification result
// Retrieving the verification result
VerificationResult verificationResult;
try
{
  verificationResult = await CaptchaManager.GetVerificationResult("<your_secret_key>", "<verification_token_from_your_client>");
}
catch (Exception ex)
{
  // Fetch verification result failed - handle error
}
  1. Act on the result
// Act on the verification result
if (!verificationResult.VerificationPassed || verificationResult.Score > 0.5)
{
  Console.WriteLine("Verification failed or bot score > 0.5 – possible automated request.");
}

Congratulations — you have successfully validated the result of the CAPTCHA!

For detailed implementation instructions, read the DotNet integration guide.

Other pre-built integrations

TrustCaptcha ships ready-made integrations for popular stacks:

  • Platforms like WordPress, Joomla, CraftCMS or Keycloak
  • Frontends like JavaScript, Angular, React or Vue.js
  • Backends like Node.js, PHP, Python, Java, Ruby, Rust, Go or DotNet
  • Mobile Applications like iOS, Android, React Native or Flutter

Discover all our pre-built Integrations on our website.

Get support

Questions? We will be happy to help!

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 112 6/17/2025
2.0.0-beta.2 107 6/17/2025