摘要:
1) 安装: Install-Package CodeCarvings.Piczard 2) 缩略图 (优点:降低列表页面图片加载的速度、降低流量,想仔细看的时候再看大图 ) 3) 水印 (优点:宣誓主权,增加曝光) 阅读全文
摘要:
public static string GenerateCaptchaCode(int len) { char[] data = {'a','c','d','e','f','g','k','m','p','r','s','t','w','x','y','3','4','5','7',' 阅读全文
摘要:
/// /// MD5加密 /// /// /// public static string CalcMD5(this string str) { byte[] bytes = System.Text.Encoding.UTF8.GetBytes(str);... 阅读全文