Conris.Utility/Strings.SysInfo.cs
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text.RegularExpressions;
//加密包
using System.Collections.Generic;
using System.Text;
using System.Security.Cryptography;
namespace Conris.Utility.Strings
{
/// <summary>
/// String 的摘要说明
/// </summary>
public class SysInfo
{
/// <summary>
/// 编码特殊字符
/// </summary>
/// <param name="Str"></param>
/// <returns></returns>
public static string EncodeString(string Str)
{
if (Str != null && Str != "")
{
Str = Str.Replace("&", "&");
Str = Str.Replace("'", "'");
Str = Str.Replace("\"", """);
Str = Str.Replace("where", "where");
Str = Str.Replace("select", "select");
Str = Str.Replace("insert", "$1nsert");
Str = Str.Replace("create", "$1reate");
Str = Str.Replace("drop", "$1rop");
Str = Str.Replace("delete", "$1elete");
Str = Str.Replace("update", "$1pdate");
Str = Str.Replace("or", "$1or");
}
else
Str = "";
return Str;
}
/// <summary>
/// 解码特殊字符
/// </summary>
/// <param name="Str"></param>
/// <returns></returns>
public static string UncodeString(string Str)
{
if (Str != null && Str != "")
{
Str = Str.Replace("&", "&");
Str = Str.Replace("'", "'");
Str = Str.Replace(""", "\"");
后面还有 190 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
