C# Class NCaptcha.Captcha

CAPTCHA.
ファイルを表示 Open project: x2bool/NCaptcha Class Usage Examples

Public Methods

Method Description
Captcha ( ) : System

Initializes a new instance using default configuration.

Captcha ( Config config ) : System

Initializes a new instance using configuration.

Captcha ( bool createBuilder, Config config ) : System
Captcha ( object config ) : System

Parses an object as configuration then initializes a new instance.

Private Methods

Method Description
CreateDefaultBackground ( Config config ) : Image
CreateDefaultDrawer ( Config config ) : IDrawer
CreateDefaultFilters ( Config config ) : IFilter[]
CreateDefaultKeygen ( Config config ) : IKeygen

Method Details

Captcha() public method

Initializes a new instance using default configuration.
public Captcha ( ) : System
return System

Captcha() public method

Initializes a new instance using configuration.
public Captcha ( Config config ) : System
config NCaptcha.Configuration.Config
return System

Captcha() public method

public Captcha ( bool createBuilder, Config config ) : System
createBuilder bool
config NCaptcha.Configuration.Config
return System

Captcha() public method

Parses an object as configuration then initializes a new instance.
public Captcha ( object config ) : System
config object
return System