类库说明文档
JHVerifyCode Class |
生成中文或字母数字验证码,无法继承该类
Inheritance Hierarchy
Namespace: DCSoft.Utility.Drawing
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class JHVerifyCode
The JHVerifyCode type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Generate(Int32, String) |
生成验证码图像(字母和数字验证码),除验证码位数其他验证码属性使用默认值
| |
Generate(VerifyCodeAttribute, String) |
生成验证码图像(字母和数字验证码)
| |
Generate(Int32, VerifyCodeModel, String) |
生成验证码图像,除验证码位数其他验证码属性使用默认值
| |
Generate(VerifyCodeAttribute, VerifyCodeModel, String) |
生成验证码图像
| |
GetAlphanumericCode |
随机生成指定位数的数字和字母混合验证码,字母已转换为大写格式
| |
GetChineseCode |
随机生成指定位数的汉字验证码
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
See Also