C# Class OSharp.Web.Mvc.Security.SecurityHelper

安全相关辅助操作
Show file Open project: i66soft/osharp

Public Methods

Method Description
CheckVerify ( string code, bool cleanIfFited = false ) : bool

检测验证码有效性

SetVerify ( string code ) : void

设置验证码到SESSION中

Method Details

CheckVerify() public static method

检测验证码有效性
public static CheckVerify ( string code, bool cleanIfFited = false ) : bool
code string
cleanIfFited bool
return bool

SetVerify() public static method

设置验证码到SESSION中
public static SetVerify ( string code ) : void
code string 要设置的验证码
return void