91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 99KB
    文件類(lèi)型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-05-04
  • 語(yǔ)言: Java
  • 標(biāo)簽:

資源簡(jiǎn)介

c#調(diào)用次世代AntiVC.dll 完整實(shí)例 復(fù)雜驗(yàn)證碼識(shí)別 有完整的例子 string code; //************* //URL 識(shí)別 code = avc.GetVcodeUrl("http://bbs.ent.163.com/bbs/checkcode.jsp?1201359681906"); Console.WriteLine("URL 識(shí)別:" + code); //************* //路徑識(shí)別 code = avc.GetVcodeFile("temp.tmp"); Console.WriteLine("路徑識(shí)別:" + code); //************* FileStream fsMyfile = File.OpenRead("temp.tmp"); int FileLen = (int)fsMyfile.Length; byte[] Buffer = new byte[FileLen]; fsMyfile.Read(Buffer, 0, FileLen); fsMyfile.Close(); //Buffer 識(shí)別 code = avc.GetVcodeBuffer(Buffer); Console.WriteLine("Buffer 識(shí)別:" + code); //************* FileStream fs = File.OpenRead("temp.tmp"); //OpenRead int filelength = 0; filelength = (int)fs.Length; //獲得文件長(zhǎng)度 byte[] image = new Byte[filelength]; //建立一個(gè)字節(jié)數(shù)組 fs.Read(image, 0, filelength); //按字節(jié)流讀取 System.Drawing.Image result = System.Drawing.Image.FromStream(fs); fs.Close(); Bitmap bmp = new Bitmap(result); //Bitmap 識(shí)別 code = avc.GetVcodeBitmap(bmp); Console.WriteLine("Bitmap 識(shí)別:"+code); //*************

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.IO;
using?System.Linq;
using?System.Text;
using?System.Threading.Tasks;
using?System.Windows.Forms;
using?UserTool;

namespace?AntiVCDemo
{
????public?partial?class?Form1?:?Form
????{
????????AntiVcClass?avc;
????????public?Form1()
????????{
????????????InitializeComponent();
????????}
????????private?void?Form1_Load(object?sender?EventArgs?e)
????????{
????????????avc?=?new?AntiVcClass(“wylt.cds“?““);
????????}
????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????Code();
????????}
????????public?void?Code()
????????{
????????????string?code;
????????????//*************
????????????//URL?識(shí)別
????????????code?=?avc.GetVcodeUrl(“http://bbs.ent.163.com/bbs/checkcode.jsp?1201359681906“);
????????????Console.WriteLine(“URL?識(shí)別:“?+?code);
????????????//*************
????????????//路徑識(shí)別
????????????code?=?avc.GetVcodeFile(“temp.tmp“);
????????????Console.WriteLine(“路徑識(shí)別:“?+?code);

????????????//*************
????????????FileStream?fsMyfile?=?File.OpenRead(“temp.tmp“);
????????????int?FileLen?=?(int)fsMyfile.Length;
????????????byte[]?Buffer?=?new?byte[FileLen];
????????????fsMyfile.Read(Buffer?0?FileLen);
????????????fsMyfile.Close();
????????????//Buffer?識(shí)別
????????????code?=?avc.GetVcodeBuffer(Buffer);
????????????Console.WriteLine(“Buffer?識(shí)別:“?+?code);

????????????//*************
????????????FileStream?fs?=?File.OpenRead(“temp.tmp“);?//OpenRead
????????????int?filelength?=?0;
????????????filelength?=?(int)fs.Length;?//獲得文件長(zhǎng)度?
????????????byte[]?image?=?new?Byte[filelength];?//建立一個(gè)字節(jié)數(shù)組?
????????????fs.Read(image?0?filelength);?//按字節(jié)流讀取?
????????????System.Drawing.Image?result?=?System.Drawing.Image.FromStream(fs);
????????????fs.Close();
????????????Bitmap?bmp?=?new?Bitmap(result);
????????????//Bitmap?識(shí)別
????????????code?=?avc.GetVcodeBitmap(bmp);
????????????Console.WriteLine(“Bitmap?識(shí)別:“+code);
????????????//*************
????????????Console.WriteLine(“\r\n\r\n?AntiVcClass.dll\r\n有問(wèn)題可以聯(lián)系\r\n淘豪樂(lè)QQ:774592666??\r\n備注:C#驗(yàn)證碼識(shí)別問(wèn)題\r\n“);
????????}
???????
????}
}

?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????目錄???????????0??2016-02-24?12:44??AntiVCDemo\
?????文件????????3924??2016-02-24?12:20??AntiVCDemo\AntiVCDemo.csproj
?????文件?????????187??2016-02-24?12:18??AntiVCDemo\App.config
?????文件????????2091??2016-02-24?12:34??AntiVCDemo\Form1.Designer.cs
?????文件????????2351??2016-02-24?12:44??AntiVCDemo\Form1.cs
?????文件????????5817??2016-02-24?12:34??AntiVCDemo\Form1.resx
?????文件?????????522??2016-02-24?12:18??AntiVCDemo\Program.cs
?????目錄???????????0??2016-02-24?12:18??AntiVCDemo\Properties\
?????文件????????1344??2016-02-24?12:18??AntiVCDemo\Properties\AssemblyInfo.cs
?????文件????????2872??2016-02-24?12:18??AntiVCDemo\Properties\Resources.Designer.cs
?????文件????????5612??2016-02-24?12:18??AntiVCDemo\Properties\Resources.resx
?????文件????????1097??2016-02-24?12:18??AntiVCDemo\Properties\Settings.Designer.cs
?????文件?????????249??2016-02-24?12:18??AntiVCDemo\Properties\Settings.settings
?????目錄???????????0??2016-02-24?12:18??AntiVCDemo\bin\
?????目錄???????????0??2016-02-24?12:23??AntiVCDemo\bin\Debug\
?????文件???????47104??2011-12-08?10:33??AntiVCDemo\bin\Debug\AntiVC.dll
?????文件????????9216??2016-02-24?12:44??AntiVCDemo\bin\Debug\AntiVCDemo.exe
?????文件?????????187??2016-02-24?12:18??AntiVCDemo\bin\Debug\AntiVCDemo.exe.config
?????文件???????24064??2016-02-24?12:44??AntiVCDemo\bin\Debug\AntiVCDemo.pdb
?????文件???????24224??2016-02-24?12:44??AntiVCDemo\bin\Debug\AntiVCDemo.vshost.exe
?????文件?????????187??2016-02-24?12:18??AntiVCDemo\bin\Debug\AntiVCDemo.vshost.exe.config
?????文件?????????490??2013-06-18?20:28??AntiVCDemo\bin\Debug\AntiVCDemo.vshost.exe.manifest
?????文件????????7168??2016-02-24?12:42??AntiVCDemo\bin\Debug\AntiVcClass.dll
?????文件????????1409??2016-02-24?12:42??AntiVCDemo\bin\Debug\AntiVcClass.xml
?????文件????????1590??2016-02-23?16:45??AntiVCDemo\bin\Debug\temp.tmp
?????文件?????????953??2010-05-17?15:45??AntiVCDemo\bin\Debug\wylt.cds
?????目錄???????????0??2016-02-24?12:18??AntiVCDemo\obj\
?????目錄???????????0??2016-02-24?12:44??AntiVCDemo\obj\Debug\
?????文件?????????180??2016-02-24?12:42??AntiVCDemo\obj\Debug\AntiVCDemo.Form1.resources
?????文件?????????180??2016-02-24?12:42??AntiVCDemo\obj\Debug\AntiVCDemo.Properties.Resources.resources
?????文件????????1097??2016-02-24?12:44??AntiVCDemo\obj\Debug\AntiVCDemo.csproj.FileListAbsolute.txt
............此處省略11個(gè)文件信息

評(píng)論

共有 條評(píng)論