namespace RuriLib.ViewModels { /// /// Provides captcha-related settings. /// public class SettingsCaptchas : ViewModelBase { private BlockCaptcha.CaptchaService currentService = BlockCaptcha.CaptchaService.AntiCaptcha; /// Which Captcha Service is currently selected for solving captcha challenges. public BlockCaptcha.CaptchaService CurrentService { get { return currentService; } set { currentService = value; OnPropertyChanged(); } } private string antiCapToken = ""; /// The AntiCaptcha API Token. public string AntiCapToken { get { return antiCapToken; } set { antiCapToken = value; OnPropertyChanged(); } } private string imageTypToken = ""; /// The ImageTyperz API Token. public string ImageTypToken { get { return imageTypToken; } set { imageTypToken = value; OnPropertyChanged(); } } private string dbcUser = ""; /// The DeathByCaptcha Username. public string DBCUser { get { return dbcUser; } set { dbcUser = value; OnPropertyChanged(); } } private string dbcPass = ""; /// The DeathByCaptcha Password. public string DBCPass { get { return dbcPass; } set { dbcPass = value; OnPropertyChanged(); } } private string twoCapToken = ""; /// The TwoCaptcha API Token. public string TwoCapToken { get { return twoCapToken; } set { twoCapToken = value; OnPropertyChanged(); } } private string dcUser = ""; /// The DeCaptcher Username. public string DCUser { get { return dcUser; } set { dcUser = value; OnPropertyChanged(); } } private string dcPass = ""; /// The DeCaptcher Password. public string DCPass { get { return dcPass; } set { dcPass = value; OnPropertyChanged(); } } private string azCapToken = ""; /// The AZCaptcha API Token. public string AZCapToken { get { return azCapToken; } set { azCapToken = value; OnPropertyChanged(); } } private string srUserId = ""; /// The SolveReCaptcha User Id. public string SRUserId { get { return srUserId; } set { srUserId = value; OnPropertyChanged(); } } private string srToken = ""; /// The SolveReCaptcha API Token. public string SRToken { get { return srToken; } set { srToken = value; OnPropertyChanged(); } } private string cIOToken = ""; /// The CaptchasIO API Token. public string CIOToken { get { return cIOToken; } set { cIOToken = value; OnPropertyChanged(); } } private string cdToken = ""; /// The CaptchaDecoder API Token. public string CDToken { get { return cdToken; } set { cdToken = value; OnPropertyChanged(); } } private bool bypassBalanceCheck = false; /// Whether to bypass the balance check before solving a captcha challenge. public bool BypassBalanceCheck { get { return bypassBalanceCheck; } set { bypassBalanceCheck = value; OnPropertyChanged(); } } private int timeout = 120; /// The maximum amount of time to wait until a captcha challenge is solved. public int Timeout { get { return timeout; } set { timeout = value; OnPropertyChanged(); } } } }