username@email.com
2024-07-08 c6c6761506785691ef44e7e232c45e1b4b16f7fa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using System.Collections.Generic;
using System.Text;
 
namespace CommonToolsCore
{  /// <summary>
   /// 图片验证码抽象类
   /// </summary>
    public abstract class ValidateCodeType
    {
        protected ValidateCodeType()
        {
        }
 
        public abstract byte[] CreateImage(out string resultCode);
 
        public abstract string Name { get; }
 
        public virtual string Tip
        {
            get
            {
                return "请输入图片中的字符";
            }
        }
 
        public string Type
        {
            get
            {
                return base.GetType().Name;
            }
        }
    }
}