Common/ValidateImage.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**********************************************
* 类作用: 验证码类
* 建立人: abaal
* 建立时间: 2008-09-03
* Copyright (C) 2007-2008 abaal
* All rights reserved
* http://blog.csdn.net/abaal888
***********************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Drawing.Text;
using System.Security.Cryptography;
namespace Svnhost.Common
{
/// <summary>
/// 验证码类
/// </summary>
public class ValidateImage
{
/// <summary>
/// 要显示的文字
/// </summary>
public string Text
{
get { return this.text; }
}
/// <summary>
/// 图片
/// </summary>
public Bitmap Image
{
get { return this.image; }
}
/// <summary>
/// 宽度
/// </summary>
public int Width
{
get { return this.width; }
}
/// <summary>
/// 高度
/// </summary>
public int Height
{
get { return this.height; }
}
private string text;
private int width;
private int height;
private Bitmap image;
private static byte[] randb = new byte[4];
后面还有 120 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。