C# Class Web.Generics.ApplicationServices.CaptchaService

A CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) Service
Afficher le fichier Open project: inspira/Web.Generics

Méthodes publiques

Méthode Description
CaptchaService ( String text, int width, int height ) : System
CaptchaService ( int length ) : System
CaptchaService ( int width, int height, int length ) : System
Generate ( ) : Image

Generates a new CAPTCHA valid for 3 minutes

Validate ( string code ) : Web.Captcha.CaptchaResult

Validates the CAPTCHA

Method Details

CaptchaService() public méthode

public CaptchaService ( String text, int width, int height ) : System
text String
width int
height int
Résultat System

CaptchaService() public méthode

public CaptchaService ( int length ) : System
length int
Résultat System

CaptchaService() public méthode

public CaptchaService ( int width, int height, int length ) : System
width int
height int
length int
Résultat System

Generate() public méthode

Generates a new CAPTCHA valid for 3 minutes
public Generate ( ) : Image
Résultat Image

Validate() public méthode

Validates the CAPTCHA
public Validate ( string code ) : Web.Captcha.CaptchaResult
code string The code entered by the user
Résultat Web.Captcha.CaptchaResult