SeliseBlocks.CaptchaDriver 10.0.0-preview.2

This is a prerelease version of SeliseBlocks.CaptchaDriver.
dotnet add package SeliseBlocks.CaptchaDriver --version 10.0.0-preview.2
                    
NuGet\Install-Package SeliseBlocks.CaptchaDriver -Version 10.0.0-preview.2
                    
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="SeliseBlocks.CaptchaDriver" Version="10.0.0-preview.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SeliseBlocks.CaptchaDriver" Version="10.0.0-preview.2" />
                    
Directory.Packages.props
<PackageReference Include="SeliseBlocks.CaptchaDriver" />
                    
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 SeliseBlocks.CaptchaDriver --version 10.0.0-preview.2
                    
#r "nuget: SeliseBlocks.CaptchaDriver, 10.0.0-preview.2"
                    
#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.
#:package SeliseBlocks.CaptchaDriver@10.0.0-preview.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SeliseBlocks.CaptchaDriver&version=10.0.0-preview.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SeliseBlocks.CaptchaDriver&version=10.0.0-preview.2&prerelease
                    
Install as a Cake Tool

SeliseBlocks.CaptchaDriver

Captcha driver for SELISE Blocks. Provides a thin ICaptchaDriverService over the captcha domain services (create, submit, and verify captcha challenges).

Usage

Register the captcha services in your DI container:

using Blocks.Extension.DependencyInjection;

services.RegisterBlocksCaptchaService();

Then inject ICaptchaDriverService (or ICaptchaService) where you need captcha functionality.

Configuration

Captcha settings are read from the shared Secrets collection, using the document whose SecretKey is captcha. The values live under KeyPairs (key lookup is case-insensitive):

Key Description
IsEnable Whether captcha is enabled (true/false, case-insensitive).
Provider Captcha provider: recaptcha, hcaptcha, or bcaptcha.
CaptchaKey Provider site/public key.
CaptchaSecret Provider secret key.
CaptchaProvider Generator implementation (e.g. EasyCaptchaGenerator).

The legacy layout — a KeyValuePairs dictionary with camelCase keys (isEnable, provider, captchaKey, captchaSecret, captchaGenerator) — is also still accepted.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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 (1)

Showing the top 1 NuGet packages that depend on SeliseBlocks.CaptchaDriver:

Package Downloads
SeliseBlocks.IamDriver

Blocks Iam Driver

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.0-preview.2 4 6/17/2026
10.0.0-preview.1 44 6/16/2026
9.0.0-preview.22 2,326 5/24/2025
9.0.0-preview.21 1,523 4/16/2025
9.0.0-preview.20 218 4/16/2025
9.0.0-preview.19 221 4/16/2025
8.0.0-preview.18 297 3/19/2025
8.0.0-preview.17 172 3/19/2025
8.0.0-preview.16 188 3/11/2025
8.0.0-preview.15 183 3/11/2025
8.0.0-preview.14 184 3/11/2025
8.0.0-preview.13 186 3/11/2025
8.0.0-preview.12 125 2/27/2025
8.0.0-preview.11 150 2/24/2025
8.0.0-preview.10 129 2/24/2025
8.0.0-preview.9 146 2/23/2025
8.0.0-preview.8 136 2/23/2025
8.0.0-preview.7 130 2/23/2025
8.0.0-preview.6 132 2/23/2025
8.0.0-preview.5 114 2/23/2025
Loading failed