2020年11月20日

C#只允许运行一个实例

摘要: var preInstance = Process.GetProcesses().FirstOrDefault(p => { try { if (p.Id != Process.GetCurrentProcess().Id && p.MainModule != null && p.MainModul 阅读全文

posted @ 2020-11-20 09:38 空明流光 阅读(233) 评论(0) 推荐(0)

导航