static Msmq() { MsmqQueue.GetMsmqInformation(ref Msmq.version, ref activeDirectoryEnabled); MsmqDiagnostics.MsmqDetected(Msmq.version); System.Version version = Environment.OSVersion.Version; if ((version.Major == 5) && (version.Minor == 1)) { xpSendLock = new object(); } }
static Msmq() { MsmqQueue.GetMsmqInformation(ref version, ref activeDirectoryEnabled); MsmqDiagnostics.MsmqDetected(version); Version osVersion = System.Environment.OSVersion.Version; if (osVersion.Major == 5 && osVersion.Minor == 1) { xpSendLock = new object(); } }