Info
Version: | 3.0.2 |
Author(s): | zzlxp |
Last Update: | Friday, February 17, 2023 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://wx0734.com/ |
NuGet Url: | https://www.nuget.org/packages/SecurityCode |
Install
Install-Package SecurityCode
dotnet add package SecurityCode
paket add SecurityCode
SecurityCode Download (Unzip the "nupkg" after downloading)
Dependencies
- System.Drawing.Common(>= 4.7.0)
{
var sc = new SecurityCode();
string code = sc.Code; //验证码的字符为4个
return File(sc.Image, "image/Jpeg");
}.