コード例 #1
0
 public async Task<string> RecognizeAsync(Stream imageStream, SiteManager site)
 {
     using (var wnd = new XjtuCardCaptchaDialog())
         return wnd.Run(imageStream, site);
 }
コード例 #2
0
 public async Task <string> RecognizeAsync(Stream imageStream, SiteManager site)
 {
     using (var wnd = new XjtuCardCaptchaDialog())
         return(wnd.Run(imageStream, site));
 }
コード例 #3
0
#pragma warning disable CS1998 // 异步方法缺少 "await" 运算符,将以同步方式运行
        public async Task<string> GetPasswordAsync(Stream keypadImageStream, IList<MapAreaInfo> mapAreas, SiteManager site)
        {
            using (var wnd = new XjtuCardCaptchaDialog())
                return wnd.Run(keypadImageStream, site);
        }
コード例 #4
0
#pragma warning disable CS1998 // 异步方法缺少 "await" 运算符,将以同步方式运行
        public async Task <string> GetPasswordAsync(Stream keypadImageStream, IList <MapAreaInfo> mapAreas, SiteManager site)
        {
            using (var wnd = new XjtuCardCaptchaDialog())
                return(wnd.Run(keypadImageStream, site));
        }