自动验证码识别技术 验证码支持以下调用语言有:易语言、按键精灵、c、c++、vc、vc++、vb、vbs、vbscript、Java、Javascript、php、asp、jsp、vb.net、vc.net、c#.net、delphi.net、c#、matlab、C++Builder、VFP 如果要支持其它语言,请联系,本团队能够提供任意语言调用的库(COM,DLL,LIB等) 验证码识别,自动识别验证码,验证码识别软件,识别验证码,验证码识别系统,验证码识别库,验证码识别DLL,验证码识别COM,验证码识别技术,验证码自动输入器,自动输入验证码,游戏验证码,论坛验证码 验证码识别
验证码识别
当前位置: 主页>vb.net调用爱莉文验证码识别库

vb.net调用爱莉文验证码识别库

  

 

Public Class Form1
    Dim idx As Integer = -1
 
    <System.Runtime.InteropServices.DllImport("www.zfuwen.com.KeyCodeDll.dll", EntryPoint:="www_zfuwen_com_QQ_251578917_InitKeyCode")> Private Shared Function InitKeyCode(ByVal idx As Integer) As Integer
 
    End Function
    <System.Runtime.InteropServices.DllImport("www.zfuwen.com.KeyCodeDll.dll", EntryPoint:="www_zfuwen_com_QQ_251578917_FreeKeyCode")> Private Shared Function FreeKeyCode(ByVal idx As Integer) As Integer
 
    End Function
    <System.Runtime.InteropServices.DllImport("www.zfuwen.com.KeyCodeDll.dll", EntryPoint:="www_zfuwen_com_QQ_251578917_GetCodeResult")> Private Shared Function GetCodeResult(ByVal strFileName As String, ByVal strOutCode As System.Text.StringBuilder, ByVal Idx As Integer) As Integer
 
    End Function
 
    Private Sub Btest_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btest.Click
        If (idx < 0) Then
            idx = InitKeyCode(0)
            If (idx < 0) Then
                MessageBox.Show("初始化失败")
                Return
            End If
        End If
        Dim res As System.Text.StringBuilder = New System.Text.StringBuilder()
        Dim startTick As System.DateTime = System.DateTime.Now
        Dim retcount As Integer
        retcount = GetCodeResult(Tinputfile.Text, res, idx)
        Dim endTick As System.DateTime = System.DateTime.Now
 
        If (retcount > 0) Then
            Treg.Text = "识别结果:" + res.ToString() + ",时间:" + ((endTick.Ticks - startTick.Ticks) / System.TimeSpan.TicksPerMillisecond).ToString() + ",当前时间:" + endTick.ToString("yyyy-MM-dd HH:mm:ss")
        Else
            Treg.Text = "识别失败"
        End If
    End Sub
 
    Private Sub Form1_Disposed(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Disposed
        If (idx >= 0) Then
            FreeKeyCode(idx)
            idx = -1
        End If
    End Sub
End Class
 
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------