Captcha.Net 1.2.1

dotnet add package Captcha.Net --version 1.2.1
NuGet\Install-Package Captcha.Net -Version 1.2.1
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="Captcha.Net" Version="1.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Captcha.Net --version 1.2.1
#r "nuget: Captcha.Net, 1.2.1"
#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.
// Install Captcha.Net as a Cake Addin
#addin nuget:?package=Captcha.Net&version=1.2.1

// Install Captcha.Net as a Cake Tool
#tool nuget:?package=Captcha.Net&version=1.2.1

.NET Windows x64 .NET Ubuntu x64 NuGet NuGet License Generic badge

Captcha Generator .Net

Captcha Generator is a simple cross-platform library for generating image captcha.

Features

  • Simple & Cross-Platform
  • Compatible with Linux and Windows
  • Compatible with Docker images based on Linux 😃

Installing via NuGet

PM> Install-Package Captcha.Net

Installing via the .NET Core command line interface

dotnet add package Captcha.Net

Usage:

using Captcha.Net;

namespace ConsoleAppSample
{
	class Program
	{
		static void Main(string[] args)
		{
			var captchaGenerator = new CaptchaGenerator();
			var key = captchaGenerator.GenerateCaptchaCode();
			var result = captchaGenerator.GenerateCaptchaImage(200, 100, key);
			File.WriteAllBytes($"captcha.jpg", result.CaptchaByteData);

			Console.WriteLine(result.CaptchBase64Data);
		}
	}
}

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. 
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
1.2.1 651 1/2/2024
1.2.0 89 1/2/2024
1.1.3 378 6/11/2023
1.1.2 142 5/28/2023
1.1.1 135 5/28/2023
1.0.1 138 5/28/2023

Improved performance of Captcha