TrustcaptchaCSharp 1.2.0
This package has been renamed and is now maintained as TrustComponent.TrustCaptcha (version 2.0.0 or above).
See the version list below for details.
dotnet add package TrustcaptchaCSharp --version 1.2.0
NuGet\Install-Package TrustcaptchaCSharp -Version 1.2.0
<PackageReference Include="TrustcaptchaCSharp" Version="1.2.0" />
<PackageVersion Include="TrustcaptchaCSharp" Version="1.2.0" />
<PackageReference Include="TrustcaptchaCSharp" />
paket add TrustcaptchaCSharp --version 1.2.0
#r "nuget: TrustcaptchaCSharp, 1.2.0"
#addin nuget:?package=TrustcaptchaCSharp&version=1.2.0
#tool nuget:?package=TrustcaptchaCSharp&version=1.2.0
Trustcaptcha C#-Library
The C# library helps you to integrate Trustcaptcha into your C# backend applications.
What is Trustcaptcha?
A captcha solution that protects you from bot attacks and puts a special focus on user experience and data protection.
You can find more information on your website: www.trustcaptcha.com.
How does the library work?
Detailed instructions and examples for using the library can be found in our documentation.
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.0
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.");
}
Ideas and support
If you have any ideas, suggestions, or need support, please contact us.
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 |