Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bezzad/captchagenerator
.Net cross-platform captcha generator with SixLabors library on .NET Core
https://github.com/bezzad/captchagenerator
captcha captcha-net captchanet cross-platform generator image-processing sixlabors-organization
Last synced: 6 days ago
JSON representation
.Net cross-platform captcha generator with SixLabors library on .NET Core
- Host: GitHub
- URL: https://github.com/bezzad/captchagenerator
- Owner: bezzad
- License: mit
- Created: 2023-02-25T06:42:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-09T13:16:28.000Z (7 months ago)
- Last Synced: 2024-10-12T02:26:31.583Z (about 1 month ago)
- Topics: captcha, captcha-net, captchanet, cross-platform, generator, image-processing, sixlabors-organization
- Language: C#
- Homepage:
- Size: 1.44 MB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![.NET Windows x64](https://github.com/bezzad/CaptchaGenerator/actions/workflows/dotnet-windows.yml/badge.svg)](https://github.com/bezzad/CaptchaGenerator/actions/workflows/dotnet-windows.yml)
[![.NET Ubuntu x64](https://github.com/bezzad/CaptchaGenerator/actions/workflows/dotnet-ubuntu.yml/badge.svg)](https://github.com/bezzad/CaptchaGenerator/actions/workflows/dotnet-ubuntu.yml)
[![NuGet](https://img.shields.io/nuget/dt/Captcha.Net.svg)](https://www.nuget.org/packages/Captcha.Net)
[![NuGet](https://img.shields.io/nuget/vpre/Captcha.Net.svg)](https://www.nuget.org/packages/Captcha.Net)
[![License](https://img.shields.io/github/license/bezzad/CaptchaGenerator.svg)](https://github.com/bezzad/CaptchaGenerator/blob/master/LICENSE)
[![Generic badge](https://img.shields.io/badge/support-.Net_6-blue.svg)](https://github.com/bezzad/CaptchaGenerator)# 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](https://www.nuget.org/packages/Downloader)
PM> Install-Package Captcha.Net
## Installing via the .NET Core command line interface
dotnet add package Captcha.Net
## Usage:
```csharp
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);
}
}
}```