类库说明文档
JHVerifyCodeGenerate Method (VerifyCodeAttribute, VerifyCodeModel, String) |
生成验证码图像
Namespace: DCSoft.Utility.Drawing
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public static Stream Generate( VerifyCodeAttribute attribute, VerifyCodeModel model, out string checkCode )
Parameters
- attribute
- Type: DCSoft.Utility.DrawingVerifyCodeAttribute
验证码相关属性对象 - model
- Type: DCSoft.UtilityVerifyCodeModel
验证码模式 - checkCode
- Type: SystemString
验证码图像对应的验证字符串
Return Value
Type: Stream验证码图像对应的内存流
See Also