RandomCodeGenerator随机数类

一、类名Class

类名:PublicFunctions.RandomCodeGenerator

 

二、属性Properties

 

三、方法Methods

1、生成随机数字字符串

函数:public static string GenerateCheckCode()

返回: string

 

2、生成指定长度的数字字母混合随机数

函数:public static string GetMixRandomCode(int length)

返回: string

 

3、生成指定长度的数字随机数

函数:public static string GetNumberRandomCode(int length)

返回: string

 

4、生成指定长度的字母随机数

函数:public static string GetCharacterRandomCode(int length)

返回: string