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

Show file Open project: ninianne98/CarrotCakeCMS-MVC 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
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

Validate() public static method

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