C# Class Carrotware.Web.UI.Controls.CaptchaImage

Show file Open project: ninianne98/CarrotCakeCMS Class Usage Examples

Public Methods

Method Description
DecodeColor ( string ColorCode ) : string
EncodeColor ( string ColorCode ) : string
GetCachedCaptcha ( ) : Bitmap
GetCaptchaImage ( Color fg, Color bg, Color n ) : Bitmap
GetKey ( ) : string
Validate ( string TestValue ) : bool

Method Details

DecodeColor() public static method

public static DecodeColor ( string ColorCode ) : string
ColorCode string
return string

EncodeColor() public static method

public static EncodeColor ( string ColorCode ) : string
ColorCode string
return string

GetCachedCaptcha() public static method

public static GetCachedCaptcha ( ) : Bitmap
return System.Drawing.Bitmap

GetCaptchaImage() public static method

public static GetCaptchaImage ( Color fg, Color bg, Color n ) : Bitmap
fg Color
bg Color
n Color
return System.Drawing.Bitmap

GetKey() public static method

public static GetKey ( ) : string
return string

Validate() public static method

public static Validate ( string TestValue ) : bool
TestValue string
return bool