12 2020 档案

摘要:前台线程 会随进程一起结束 不管是否完成,后台线程需要执行完毕,进程才能结束 例子: class Program { static void Main(string[] args) { Thread t = new Thread(Run); //t.IsBackground = true; //前台 阅读全文
posted @ 2020-12-30 11:34 darkif 阅读(162) 评论(0) 推荐(0)
摘要:class RSACryptoItem { public RSACryptoServiceProvider Provider; public List<byte> PubKeyBytes; } public class RSAManager { private RSACryptoItem item; 阅读全文
posted @ 2020-12-23 16:26 darkif 阅读(1856) 评论(0) 推荐(0)
摘要:/// <summary> /// 普通文件下载 /// </summary> /// <param name="URL"></param> /// <param name="filename"></param> /// <returns></returns> public static bool 阅读全文
posted @ 2020-12-23 16:21 darkif 阅读(463) 评论(0) 推荐(0)