Method | Description | |
---|---|---|
Generate ( int numberOfOptions = DefaultNumberOfImages ) : void | ||
GetAudioMimeType ( string type ) : string | ||
GetImageMimeType ( int index, bool isRetina ) : string | ||
StreamAudio ( string fileType ) : |
||
StreamImage ( int index, bool isRetina ) : |
||
ValidateAnswer ( |
||
ValidateAudio ( string sentOption ) : bool | ||
ValidateImage ( string sentOption ) : bool | ||
VisualCaptcha ( ISessionProvider sessionProvider, string mediaPath, string @namespace = "visualcaptcha", List images = null, List audios = null ) : System.Collections.Generic |
Method | Description | |
---|---|---|
GetFileStream ( string audioFilePath ) : |
||
LoadAudioOptions ( ) : List | ||
LoadImageOptions ( ) : List |
public Generate ( int numberOfOptions = DefaultNumberOfImages ) : void | ||
numberOfOptions | int | |
return | void |
public GetAudioMimeType ( string type ) : string | ||
type | string | |
return | string |
public GetImageMimeType ( int index, bool isRetina ) : string | ||
index | int | |
isRetina | bool | |
return | string |
public StreamAudio ( string fileType ) : |
||
fileType | string | |
return |
public StreamImage ( int index, bool isRetina ) : |
||
index | int | |
isRetina | bool | |
return |
public ValidateAnswer ( |
||
form | ||
return | CaptchaState |
public ValidateAudio ( string sentOption ) : bool | ||
sentOption | string | |
return | bool |
public ValidateImage ( string sentOption ) : bool | ||
sentOption | string | |
return | bool |
public VisualCaptcha ( ISessionProvider sessionProvider, string mediaPath, string @namespace = "visualcaptcha", List images = null, List audios = null ) : System.Collections.Generic | ||
sessionProvider | ISessionProvider | |
mediaPath | string | |
@namespace | string | |
images | List | |
audios | List | |
return | System.Collections.Generic |