• 大小: 548KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-03
  • 语言: C#
  • 标签: imei  meid  算号器  

资源简介

imei,meid 手机串码生成工具,手机串码算号器,VS C#源码

资源截图

代码片段和文件信息

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

namespace NOCalculate
{
    public partial class From1 : Form
    {
        public From1()
        {
            InitializeComponent();
            this.StartPosition = FormStartPosition.CenterScreen;      
        }

        private void button1_Click(object sender EventArgs e)
        {

            int index = 0;
            index = Tab.SelectedIndex;
            
            if (index == 0)
            {
                string tempimei = ““;
                string imei = ““;
                int temp = 0;              
                string AfilePath = ““;                

                long num = Int64.Parse(textBox1.Text.ToString() System.Globalization.Numberstyles.Integer);
                int step = Int16.Parse(textBox4.Text.ToString() System.Globalization.Numberstyles.Integer);
                int count = Int16.Parse(textBox5.Text.ToString() System.Globalization.Numberstyles.Integer);

                saveFileDialog1.Filter = “txt files(*.txt)|*.txt“;//设置保存文件类型
                if ((saveFileDialog1.ShowDialog() == DialogResult.OK))
                {
                    AfilePath = this.saveFileDialog1.FileName;

                    int[] d = new int[2];
                    for (int i = 0; i < count; i++)
                    {
                        tempimei = ““;
                        if (i != 0)
                        {
                            num += step;
                        }
                        tempimei = Convert.ToString(num 10);

                        temp = 0;
                        for (int j = 0; j < 7; j++)  //计算校验位
                        {
                            d[0] = tempimei[j * 2] - 0x30;
                            d[1] = (tempimei[j * 2 + 1] - 0x30) * 2;
                            temp = temp + d[0] + (d[1] / 10) + (d[1] % 10); //计算校验位
                        }
                        temp = 10 - (temp % 10);
                        if (temp == 10)
                        {
                            temp = 0;
                        }
                        tempimei += Convert.ToString(temp 10);
                        imei += tempimei + Environment.NewLine;
                    }
                    FileStream fs = new FileStream(AfilePath FileMode.Create);
                    byte[] writeMesaage = Encoding.GetEncoding(“GB2312“).GetBytes(imei);
                    fs.Write(writeMesaage 0 writeMesaage.Length);
                    fs.Close();
                }
               
            }
            else
            {
                string AfilePath = ““;
                string log = ““;
                saveFileDialog1.Filter = “txt files(*.txt)|*.txt“;//设置保存文件类型
                if ((saveFileDialog1.ShowDi

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       4168  2011-07-14 17:36  NOCalculate\Backup\NOCalculate\Form1.cs

     文件      10419  2011-07-14 17:34  NOCalculate\Backup\NOCalculate\Form1.Designer.cs

     文件       6017  2011-07-14 17:34  NOCalculate\Backup\NOCalculate\Form1.resx

     文件       6067  2011-07-14 17:49  NOCalculate\Backup\NOCalculate\NOCalculate.csproj

     文件        493  2011-07-14 17:49  NOCalculate\Backup\NOCalculate\NOCalculate.csproj.user

     文件       1692  2011-07-14 17:39  NOCalculate\Backup\NOCalculate\NOCalculate_TemporaryKey.pfx

     文件        492  2011-07-14 17:33  NOCalculate\Backup\NOCalculate\Program.cs

     文件       1471  2011-07-14 17:45  NOCalculate\Backup\NOCalculate\Properties\app.manifest

     文件       1398  2011-07-14 17:38  NOCalculate\Backup\NOCalculate\Properties\AssemblyInfo.cs

     文件       2872  2011-07-14 15:37  NOCalculate\Backup\NOCalculate\Properties\Resources.Designer.cs

     文件       5612  2011-07-14 15:37  NOCalculate\Backup\NOCalculate\Properties\Resources.resx

     文件       1096  2011-07-14 15:37  NOCalculate\Backup\NOCalculate\Properties\Settings.Designer.cs

     文件        249  2011-07-14 15:37  NOCalculate\Backup\NOCalculate\Properties\Settings.settings

     文件      25214  2011-07-14 17:44  NOCalculate\Backup\NOCalculate\setup.ico

     文件        923  2011-07-14 15:37  NOCalculate\Backup\NOCalculate.sln

    ..A..H.     17920  2011-08-10 16:10  NOCalculate\Backup\NOCalculate.suo

     文件      12288  2011-07-14 17:30  NOCalculate\NOCalculate\bin\Debug\IMEI&WLAN.exe

     文件       5249  2017-10-26 11:22  NOCalculate\NOCalculate\bin\Debug\IMEI&WLAN.zip

     文件      26112  2011-07-14 17:30  NOCalculate\NOCalculate\bin\Debug\NOCalculate.pdb

     文件      14328  2011-07-14 17:18  NOCalculate\NOCalculate\bin\Debug\NOCalculate.vshost.exe

     文件        490  2007-07-21 01:33  NOCalculate\NOCalculate\bin\Debug\NOCalculate.vshost.exe.manifest

     文件      16508  2014-07-27 11:56  NOCalculate\NOCalculate\bin\Debug.rar

     文件      36864  2011-07-14 17:46  NOCalculate\NOCalculate\bin\Release\app.publish\Application Files\NOCalculate_1_0_0_1\NOCalculate.exe.deploy

     文件       7759  2011-07-14 17:47  NOCalculate\NOCalculate\bin\Release\app.publish\Application Files\NOCalculate_1_0_0_1\NOCalculate.exe.manifest

     文件      25214  2011-07-14 17:44  NOCalculate\NOCalculate\bin\Release\app.publish\Application Files\NOCalculate_1_0_0_1\setup.ico.deploy

     文件         45  2011-07-14 17:47  NOCalculate\NOCalculate\bin\Release\app.publish\autorun.inf

     文件       5343  2011-07-14 17:47  NOCalculate\NOCalculate\bin\Release\app.publish\NOCalculate.application

     文件     460800  2016-08-22 14:11  NOCalculate\NOCalculate\bin\Release\app.publish\setup.exe

     文件       1644  2014-07-25 17:39  NOCalculate\NOCalculate\bin\Release\NOCalculate.application

     文件      36864  2014-07-25 17:39  NOCalculate\NOCalculate\bin\Release\NOCalculate.exe

............此处省略70个文件信息

评论

共有 条评论

相关资源