07 2017 档案
摘要:http://blog.csdn.net/wulex/article/details/71545471 路由 public static void Register(HttpConfiguration config) { // Web API routes config.MapHttpAttribu
阅读全文
摘要:System.Threading.Thread thread = new System.Threading.Thread(() => { //各种业务 //定义一个委托 public delegate void ProcessDelegate(string a); if (this.lbStatus
阅读全文
摘要:/// <summary> /// C#调用接口上传json数据,并且带文件上传 /// </summary> /// <param name="url">接口地址</param> /// <param name="filePath">文件路径</param> /// <returns></retu
阅读全文
摘要:public void GPG() { string password = "1234567890"; System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo("cmd.exe"); psi.
阅读全文
摘要:#region 图片转为base64编码的字符串 public string ImgToBase64String(string Imagefilename) { try { Bitmap bmp = new Bitmap(Imagefilename); MemoryStream ms = new M
阅读全文
摘要:在Windows系统使用Gpg4win进行加密解密 在Windows系统使用Gpg4win进行加密解密 2015-06-15 by u014076884 GPG,又称为GnuPG,全称是Gnu Private Guard,即GNU隐私卫士。GPG是以PGP算法为核心的强大的加密软件。但GPG项目是一
阅读全文
摘要:pagexml = @"<?xml version='1.0' encoding='utf-8'?> <DATAPACKET Version='2.0'> <METADATA> <FIELDS> <FIELD attrname='vMbillID' fieldtype='string' requir
阅读全文
摘要:Select object_name From user_objects a left join all_triggers b on a.object_Name = b.trigger_name where a.object_type='TRIGGER' and b.table_name = 'XF
阅读全文