类库说明文档
JHVerifyCodeGenerate Method (VerifyCodeAttribute, 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, out string checkCode )
Parameters
- attribute
- Type: DCSoft.Utility.DrawingVerifyCodeAttribute
验证码相关属性对象 - checkCode
- Type: SystemString
验证码图像对应的验证字符串
Return Value
Type: Stream验证码图像对应的内存流
See Also