我对此感到困惑,有人告诉我为什么,当我打电话时:
using (Mutex mtx = new Mutex(false, strId)) { }
我得到这个例外:
找不到路径的一部分.
如果strId设置为类似localhost\SQLEXPRESS-MyName-2?
strId
localhost\SQLEXPRESS-MyName-2
.net c# windows mutex
.net ×1
c# ×1
mutex ×1
windows ×1