initial commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: MutexControl
|
||||
// Assembly: Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 92DF2D60-35B0-4A06-AFD8-50A246F39510
|
||||
// Assembly location: C:\Users\user\Desktop\v3.8.0 Deluxe Plugins (v4.0.0) cracked\Builder\Client.exe
|
||||
|
||||
using System.Threading;
|
||||
|
||||
#nullable disable
|
||||
internal class MutexControl
|
||||
{
|
||||
public static Mutex meow;
|
||||
|
||||
public static bool CreateMutex()
|
||||
{
|
||||
bool createdNew;
|
||||
MutexControl.meow = new Mutex(false, Config.Mutex, out createdNew);
|
||||
return createdNew;
|
||||
}
|
||||
|
||||
public static void CloseMutex()
|
||||
{
|
||||
if (MutexControl.meow == null)
|
||||
return;
|
||||
MutexControl.meow.Close();
|
||||
MutexControl.meow = (Mutex) null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user