Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
GetFileStream ( string audioFilePath ) : |
||
LoadAudioOptions ( ) : List | ||
LoadImageOptions ( ) : List |
public Generate ( int numberOfOptions = DefaultNumberOfImages ) : void | ||
numberOfOptions | int | |
Результат | void |
public GetAudioMimeType ( string type ) : string | ||
type | string | |
Результат | string |
public GetImageMimeType ( int index, bool isRetina ) : string | ||
index | int | |
isRetina | bool | |
Результат | string |
public StreamAudio ( string fileType ) : |
||
fileType | string | |
Результат |
public StreamImage ( int index, bool isRetina ) : |
||
index | int | |
isRetina | bool | |
Результат |
public ValidateAnswer ( |
||
form | ||
Результат | CaptchaState |
public ValidateAudio ( string sentOption ) : bool | ||
sentOption | string | |
Результат | bool |
public ValidateImage ( string sentOption ) : bool | ||
sentOption | string | |
Результат | 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 | |
Результат | System.Collections.Generic |