摘要:
1 //根据域名解析出IP 2 IPHostEntry hostinfo = Dns.GetHostByName("baidu.com"); 3 IPAddress[] aryIP = hostinfo.AddressList; 4 IPAddress address = aryIP[0]; 阅读全文
摘要:
1 /// 2 /// RSA私钥加密 3 /// 4 /// 待加密的文本 5 /// 私钥 6 /// 7 private string EncryptDataBytes(string strValue,string priKey) 8 {... 阅读全文
摘要:
1 /// 2 /// RSA公钥加密 3 /// 4 /// 待加密文本 5 /// RSA公钥 6 /// 7 public static string RSAEncrypt(string content, string publickey) 8 ... 阅读全文
摘要:
1 /// 2 /// 时间戳转换成标准时间 3 /// 4 /// 时间戳 5 /// 6 private DateTime ConvertToTime(string timeStamp) 7 { 8 DateTime time = DateTime.Now; 9 if (str... 阅读全文
摘要:
sql server查看有哪些存储过程和视图的方法 select * from sys.sysobjects where type='p' //存储过程 select * from sys.sysobjects where type='v' //视图 sp_helptext procName //查 阅读全文