HotelCommon/ValidateCode.cs

(开头部分) 17KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Web;
using System.Collections.Generic;
using System.Text;
using System.Drawing.Imaging;
using System.Drawing; 
public class ValidateCode
{

    private int _Length;
    private int _Width;
    private int _Height;
    private int _Points;
    private int _Lines;
    private CodeTypes _CodeType;
    private SaveTypes _SaveType;
    private string _SaveName;
    private string _Code;

    public ValidateCode()
    {
        _Length = 4;
        _Width = _Length * 14;
        _Height = 20;
        _Points = 80;
        _Lines = 5;
        CodeType = CodeTypes.LetterNumber;
        _SaveType = SaveTypes.Session;
        _SaveName = "ValidateCode";
        _Code = "";
        this.GetConfig();
    }

    public int Length
    {
        get { return _Length; }
        set { _Length = value; }
    }

    public int Width
    {
        get { return _Width; }
        set { _Width = value; }
    }

    public int Height
    {
        get { return _Height; }
        set { _Height = value; }
    }

    public int Points
    {
        get { return _Points; }
        set { _Points = value; }
    }

    public int Lines
    {
        get { return _Lines; }
后面还有 300 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。