BotDetect ASP.NET CAPTCHA Events Reference

BotDetect ASP.NET Captcha Simple API uses a number of Captcha-specific events to allow detailed tracking of all phases in the Captcha workflow.

BotDetect.SimpleCaptchaEventArgs

Base Captcha-specific event arguments class.

Inherits

BotDetect.BaseEventArgs

BotDetect.SimpleCaptchaEventArgs Class Reference
BotDetect.SimpleCaptchaEventArgs public property string CaptchaStyleName Identifies which Captcha does the event apply to

BotDetect.GeneratingSimpleCaptchaCodeEventArgs

Event arguments used for the GeneratingCaptchaCode event being fired before each random Captcha code generation.

Inherits

BotDetect.SimpleCaptchaEventArgs

BotDetect.GeneratingSimpleCaptchaCodeEventArgs Class Reference
BotDetect.GeneratingSimpleCaptchaCodeEventArgs public property string CaptchaStyleName Inherited from SimpleCaptchaEventArgs, identifies which Captcha does the event apply to
BotDetect.GeneratingSimpleCaptchaCodeEventArgs public property string CurrentCaptchaId Globally unique identifier of the current Captcha instance generating the code

BotDetect.GeneratedSimpleCaptchaCodeEventArgs

Event arguments used for the GeneratedCaptchaCode event being fired after each random Captcha code generation.

Inherits

BotDetect.SimpleCaptchaEventArgs

BotDetect.GeneratedSimpleCaptchaCodeEventArgs Class Reference
BotDetect.GeneratedSimpleCaptchaCodeEventArgs public property string CaptchaStyleName Inherited from SimpleCaptchaEventArgs, identifies which Captcha does the event apply to
BotDetect.GeneratedSimpleCaptchaCodeEventArgs public property string CurrentCaptchaId Globally unique identifier of the current Captcha instance which generated the code
BotDetect.GeneratedSimpleCaptchaCodeEventArgs public property string Code The random Captcha code generated
BotDetect.GeneratedSimpleCaptchaCodeEventArgs public property int CodeLength The Captcha code length used for code generation
BotDetect.GeneratedSimpleCaptchaCodeEventArgs public property BotDetect.CodeStyle CodeStyle The Captcha code style used for code generation
BotDetect.GeneratedSimpleCaptchaCodeEventArgs public property BotDetect. CodeGenerationPurpose Purpose Which purpose was the Captcha code generated for

BotDetect.GeneratingSimpleCaptchaImageEventArgs

Event arguments used for the GeneratingCaptchaImage event being fired before each Captcha image generation.

Inherits

BotDetect.SimpleCaptchaEventArgs

BotDetect.GeneratingSimpleCaptchaImageEventArgs Class Reference
BotDetect.GeneratingSimpleCaptchaImageEventArgs public property string CaptchaStyleName Inherited from SimpleCaptchaEventArgs, identifies which Captcha does the event apply to
BotDetect.GeneratingSimpleCaptchaImageEventArgs public property string CurrentCaptchaId Globally unique identifier of the current Captcha instance generating the image

BotDetect.GeneratedSimpleCaptchaImageEventArgs

Event arguments used for the GeneratedCaptchaImage event being fired after each Captcha image generation.

Inherits

BotDetect.SimpleCaptchaEventArgs

BotDetect.GeneratedSimpleCaptchaImageEventArgs Class Reference
BotDetect.GeneratedSimpleCaptchaImageEventArgs public property string CaptchaStyleName Inherited from SimpleCaptchaEventArgs, identifies which Captcha does the event apply to
BotDetect.GeneratedSimpleCaptchaImageEventArgs public property string CurrentCaptchaId Globally unique identifier of the current Captcha instance which generated the image
BotDetect.GeneratedSimpleCaptchaImageEventArgs public property long Bytes Size of the generated image file
BotDetect.GeneratedSimpleCaptchaImageEventArgs public property System.Drawing.Size GdiImageSize Size of the generated image, in pixels
BotDetect.GeneratedSimpleCaptchaImageEventArgs public property BotDetect.ImageFormat ImageFormat Image format the Captcha image was generated in
BotDetect.GeneratedSimpleCaptchaImageEventArgs public property BotDetect.ImageStyle ImageStyle Image style used for Captcha image drawing

BotDetect.GeneratingSimpleCaptchaSoundEventArgs

Event arguments used for the GeneratingCaptchaSound event being fired before each Captcha sound generation.

Inherits

BotDetect.SimpleCaptchaEventArgs

BotDetect.GeneratingSimpleCaptchaSoundEventArgs Class Reference
BotDetect.GeneratingSimpleCaptchaSoundEventArgs public property string CaptchaStyleName Inherited from SimpleCaptchaEventArgs, identifies which Captcha does the event apply to
BotDetect.GeneratingSimpleCaptchaSoundEventArgs public property string CurrentCaptchaId Globally unique identifier of the current Captcha instance generating the sound

BotDetect.GeneratedSimpleCaptchaSoundEventArgs

Event arguments used for the GeneratedCaptchaSound event being fired after each Captcha sound generation.

Inherits

BotDetect.SimpleCaptchaEventArgs

BotDetect.GeneratedSimpleCaptchaSoundEventArgs Class Reference
BotDetect.GeneratedSimpleCaptchaSoundEventArgs public property string CaptchaStyleName Inherited from SimpleCaptchaEventArgs, identifies which Captcha does the event apply to
BotDetect.GeneratedSimpleCaptchaSoundEventArgs public property string CurrentCaptchaId Globally unique identifier of the current Captcha instance which generated the sound
BotDetect.GeneratedSimpleCaptchaSoundEventArgs public property long Bytes Size of the generated sound file
BotDetect.GeneratedSimpleCaptchaSoundEventArgs public property long Duration Duration of the generated sound file, in milliseconds
BotDetect.GeneratedSimpleCaptchaSoundEventArgs public property BotDetect.SoundStyle SoundStyle Sound style used for Captcha sound generation
BotDetect.GeneratedSimpleCaptchaSoundEventArgs public property BotDetect.SoundFormat SoundFormat Sound format the Captcha sound was generated in

BotDetect.SimpleValidatingUserInputEventArgs

Event arguments used for the ValidatingUserInput event being fired before each Captcha validation.

Inherits

BotDetect.SimpleCaptchaEventArgs

BotDetect.SimpleValidatingUserInputEventArgs Class Reference
BotDetect.SimpleValidatingUserInputEventArgs public property string CaptchaStyleName Inherited from SimpleCaptchaEventArgs, identifies which Captcha does the event apply to
BotDetect.SimpleValidatingUserInputEventArgs public property string CurrentCaptchaId Globally unique identifier of the current Captcha instance validating the user input
BotDetect.SimpleValidatingUserInputEventArgs public property string ValidatingCaptchaId Globally unique identifier of the previous Captcha instance which generated the Captcha code
BotDetect.SimpleValidatingUserInputEventArgs public property BotDetect. ValidationAttemptOrigin Origin Origin of the Captcha validation attempt
BotDetect.SimpleValidatingUserInputEventArgs public property string UserInput User input that will be compared to stored codes

BotDetect.SimpleValidatedUserInputEventArgs

Event arguments used for the ValidatedUserInput event being fired after each Captcha validation.

Inherits

BotDetect.SimpleCaptchaEventArgs

BotDetect.SimpleValidatedUserInputEventArgs Class Reference
BotDetect.SimpleValidatedUserInputEventArgs public property string CaptchaStyleName Inherited from SimpleCaptchaEventArgs, identifies which Captcha does the event apply to
BotDetect.SimpleValidatedUserInputEventArgs public property string CurrentCaptchaId Globally unique identifier of the current Captcha instance which validated the user input
BotDetect.SimpleValidatedUserInputEventArgs public property string ValidatingCaptchaId Globally unique identifier of the previous Captcha instance which generated the Captcha code
BotDetect.SimpleValidatedUserInputEventArgs public property BotDetect. ValidationAttemptOrigin Origin Origin of the Captcha validation attempt
BotDetect.SimpleValidatedUserInputEventArgs public property string UserInput User input that was compared to stored codes
BotDetect.SimpleValidatedUserInputEventArgs public property bool Result Captcha validation result

BotDetect.InitializedWebSimpleCaptchaEventArgs

Event arguments used for the InitializedWebSimpleCaptchaEventArgs event being fired when each Captcha instance is created.

Inherits

BotDetect.SimpleCaptchaEventArgs

BotDetect.InitializedWebSimpleCaptchaEventArgs Class Reference
BotDetect.InitializedWebSimpleCaptchaEventArgs public property string CaptchaStyleName Inherited from SimpleCaptchaEventArgs, identifies which Captcha does the event apply to