.Net Core 防止程序多开
const string mutexName = @"Global\appName";var mutex = new Mutex(true, mutexName, out var createdNew);if (!createdNew){ Console.WriteLine(mutexName + " is already running! Exiting the applicati...
原创
2020-04-21 14:18:22 ·
556 阅读 ·
0 评论