TrustcaptchaCSharp 1.2.2
This package has been renamed and is now maintained as TrustComponent.TrustCaptcha (version 2.0.0 or above).
dotnet add package TrustcaptchaCSharp --version 1.2.2
NuGet\Install-Package TrustcaptchaCSharp -Version 1.2.2
<PackageReference Include="TrustcaptchaCSharp" Version="1.2.2" />
<PackageVersion Include="TrustcaptchaCSharp" Version="1.2.2" />
<PackageReference Include="TrustcaptchaCSharp" />
paket add TrustcaptchaCSharp --version 1.2.2
#r "nuget: TrustcaptchaCSharp, 1.2.2"
#addin nuget:?package=TrustcaptchaCSharp&version=1.2.2
#tool nuget:?package=TrustcaptchaCSharp&version=1.2.2
TrustCaptcha for DotNet
Protect websites and apps against bots and spam with a privacy-first, EU-hosted CAPTCHA solution.
⚠️ DEPRECATED
This package has been renamed and is now maintained asTrustComponent.TrustCaptcha
(version 2.0.0 or above).
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
- Create an account: sign up / sign in.
- Choose a CAPTCHA: pick an existing one or create a new one.
- Embed the widget: implement the TrustCaptcha widget into your website or app.
- Validate result: validate the CAPTCHA verification result in your backend.
Need a walkthrough? See the DotNet integration guide.
Short example
Here you can see a short code example of a possible integration. Please refer to our provided documentation for complete and up-to-date integration instructions.
- Installing the library
dotnet add package TrustcaptchaCSharp --version 1.2.1
- Fetching and handling the result
// Retrieving the verification result
VerificationResult verificationResult = await CaptchaManager.GetVerificationResult("<your_secret_key>", "<verification_token_from_your_client>");
// Do something with the verification result
if (!verificationResult.VerificationPassed || verificationResult.Score > 0.5)
{
Console.WriteLine("Verification failed, or bot score is higher than 0.5 – this could indicate a bot.");
}
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!
- Email: mail@trustcomponent.com
- Contact form: reach the support team
Product | Versions 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. |
-
net6.0
- Microsoft.NET.Test.Sdk (>= 17.12.0)
- System.Net.Http (>= 4.3.4)
- System.Text.Json (>= 5.0.2)
- xunit (>= 2.9.2)
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 | |
---|---|---|---|
1.2.2 | 129 | 6/18/2025 | |
1.2.1 | 142 | 6/18/2025 | |
1.2.1-beta.2 | 188 | 6/18/2025 | |
1.2.1-beta.1 | 182 | 6/18/2025 | |
1.2.1-beta.0 | 191 | 6/18/2025 | |
1.2.0 | 212 | 6/16/2025 | |
1.2.0-beta.1 | 189 | 6/16/2025 | |
1.2.0-beta.0 | 190 | 6/16/2025 | |
1.0.3 | 207 | 11/8/2024 | |
1.0.2 | 184 | 10/26/2024 | |
1.0.1 | 444 | 6/9/2024 | |
1.0.0 | 228 | 6/7/2024 | |
0.0.1 | 218 | 6/7/2024 |