TrustcaptchaCSharp 1.2.0

Suggested Alternatives

TrustComponent.TrustCaptcha

Additional Details

This package has been renamed and is now maintained as TrustComponent.TrustCaptcha (version 2.0.0 or above).

There is a newer version of this package available.
See the version list below for details.
dotnet add package TrustcaptchaCSharp --version 1.2.0
                    
NuGet\Install-Package TrustcaptchaCSharp -Version 1.2.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="TrustcaptchaCSharp" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TrustcaptchaCSharp" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="TrustcaptchaCSharp" />
                    
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 TrustcaptchaCSharp --version 1.2.0
                    
#r "nuget: TrustcaptchaCSharp, 1.2.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=TrustcaptchaCSharp&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=TrustcaptchaCSharp&version=1.2.0
                    
Install as a Cake Tool

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 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.