会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
易雪微寒
博客园
首页
新随笔
联系
订阅
管理
2016年6月6日
C# socket通讯使用域名的方法
摘要: 1 //根据域名解析出IP 2 IPHostEntry hostinfo = Dns.GetHostByName("baidu.com"); 3 IPAddress[] aryIP = hostinfo.AddressList; 4 IPAddress address = aryIP[0];
阅读全文
posted @ 2016-06-06 10:09 易雪寒
阅读(4080)
评论(0)
推荐(0)
2016年6月4日
RSA私钥加密
摘要: 1 /// 2 /// RSA私钥加密 3 /// 4 /// 待加密的文本 5 /// 私钥 6 /// 7 private string EncryptDataBytes(string strValue,string priKey) 8 {...
阅读全文
posted @ 2016-06-04 18:46 易雪寒
阅读(660)
评论(0)
推荐(0)
RSA公钥加密
摘要: 1 /// 2 /// RSA公钥加密 3 /// 4 /// 待加密文本 5 /// RSA公钥 6 /// 7 public static string RSAEncrypt(string content, string publickey) 8 ...
阅读全文
posted @ 2016-06-04 18:39 易雪寒
阅读(401)
评论(0)
推荐(0)
13位时间戳转换成标准时间C#代码
摘要: 1 /// 2 /// 时间戳转换成标准时间 3 /// 4 /// 时间戳 5 /// 6 private DateTime ConvertToTime(string timeStamp) 7 { 8 DateTime time = DateTime.Now; 9 if (str...
阅读全文
posted @ 2016-06-04 18:00 易雪寒
阅读(2809)
评论(0)
推荐(0)
sql server查看有哪些存储过程和视图的方法
摘要: sql server查看有哪些存储过程和视图的方法 select * from sys.sysobjects where type='p' //存储过程 select * from sys.sysobjects where type='v' //视图 sp_helptext procName //查
阅读全文
posted @ 2016-06-04 17:54 易雪寒
阅读(641)
评论(0)
推荐(0)
公告