• 大小: 3.14M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 验证码  获取  随机  验证  

资源简介


资源截图

代码片段和文件信息

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

namespace WindowsFormsApplication28
{
    public partial class Form1 : Form
    {
        string record;   //作为全局变量,记录验证码字符
        
        public Form1()
        {
            InitializeComponent();
        }
        public void myway()
        {
            string allchar = (“0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ“);
            string[] cutallchar = allchar.Split(‘‘);//以“”分割字符串(allchar)
            string[] myfont = { “微软炭黑“ “仿宋“ “幼圆“ “宋体“ “隶书“ };//为随机选中某一项做准备

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-06-24 19:25  验证码\
     目录           0  2018-07-19 22:03  验证码\.vs\
     目录           0  2018-07-19 22:03  验证码\.vs\WindowsFormsApplication28\
     目录           0  2018-07-19 22:03  验证码\.vs\WindowsFormsApplication28\v14\
     文件       31744  2018-07-19 22:02  验证码\.vs\WindowsFormsApplication28\v14\.suo
     目录           0  2018-07-19 22:03  验证码\WindowsFormsApplication28\
     文件        1042  2018-07-19 18:41  验证码\WindowsFormsApplication28.sln
     文件       23040  2019-06-24 19:25  验证码\WindowsFormsApplication28.v11.suo
     文件         189  2018-07-19 18:41  验证码\WindowsFormsApplication28\App.config
     目录           0  2018-07-19 22:03  验证码\WindowsFormsApplication28\bin\
     目录           0  2019-06-24 19:25  验证码\WindowsFormsApplication28\bin\Debug\
     文件     5645360  2019-05-17 16:45  验证码\WindowsFormsApplication28\bin\Debug\mscorlib.dll
     文件       59342  2018-09-15 15:29  验证码\WindowsFormsApplication28\bin\Debug\normidna.nlp
     文件       47076  2018-09-15 15:29  验证码\WindowsFormsApplication28\bin\Debug\normnfc.nlp
     文件       40566  2018-09-15 15:29  验证码\WindowsFormsApplication28\bin\Debug\normnfd.nlp
     文件       67808  2018-09-15 15:29  验证码\WindowsFormsApplication28\bin\Debug\normnfkc.nlp
     文件       61718  2018-09-15 15:29  验证码\WindowsFormsApplication28\bin\Debug\normnfkd.nlp
     文件      180832  2012-07-10 21:52  验证码\WindowsFormsApplication28\bin\Debug\System.Net.Http.dll
     文件      201824  2012-06-23 01:00  验证码\WindowsFormsApplication28\bin\Debug\System.Net.Http.xml
     文件       11264  2019-06-24 19:25  验证码\WindowsFormsApplication28\bin\Debug\WindowsFormsApplication28.exe
     文件         189  2018-07-19 18:41  验证码\WindowsFormsApplication28\bin\Debug\WindowsFormsApplication28.exe.config
     文件       30208  2019-06-24 19:25  验证码\WindowsFormsApplication28\bin\Debug\WindowsFormsApplication28.pdb
     文件       22984  2019-06-24 19:25  验证码\WindowsFormsApplication28\bin\Debug\WindowsFormsApplication28.vshost.exe
     文件         189  2018-07-19 18:41  验证码\WindowsFormsApplication28\bin\Debug\WindowsFormsApplication28.vshost.exe.config
     文件         490  2018-09-15 15:29  验证码\WindowsFormsApplication28\bin\Debug\WindowsFormsApplication28.vshost.exe.manifest
     目录           0  2019-06-24 19:25  验证码\WindowsFormsApplication28\bin\Debug\zh-Hans\
     文件     1015904  2018-09-16 00:03  验证码\WindowsFormsApplication28\bin\Debug\zh-Hans\mscorlib.resources.dll
     文件       17504  2012-07-10 23:31  验证码\WindowsFormsApplication28\bin\Debug\zh-Hans\System.Net.Http.resources.dll
     文件        4143  2018-07-19 22:01  验证码\WindowsFormsApplication28\Form1.cs
     文件        3888  2018-07-19 21:30  验证码\WindowsFormsApplication28\Form1.Designer.cs
     文件        6001  2018-07-19 21:30  验证码\WindowsFormsApplication28\Form1.resx
............此处省略23个文件信息

评论

共有 条评论