Open Source Web Application Framework for ASP.NET Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
642 B

using System;
namespace Volo.CmsKit.Public.Web.Security.Captcha;
public class CaptchaOutput
{
public Guid Id { get; set; }
public string Text { get; set; }
public byte[] ImageBytes { get; set; }
public int Result { get; set; }
}
public class CaptchaInput
{
public int Number1 { get; set; }
public int Number2 { get; set; }
}
public class CaptchaRequest
{
public CaptchaInput Input { get; set; }
public CaptchaOutput Output { get; set; }
public CaptchaRequest()
{
Input = new CaptchaInput();
Output = new CaptchaOutput
{
Id = Guid.NewGuid()
};
}
}