Checks if the instance of the application attempting to start is the first instance.
If not, activates the first instance.
View code on GitHub Namespace: DeltaEngine.Editor.HelpersAssembly: DeltaEngine.Editor (in DeltaEngine.Editor.exe) Version: 1.1.1.0 (1.1.1)
public static bool InitializeAsFirstInstance(
string uniqueName
)
public static bool InitializeAsFirstInstance(
string uniqueName
)
Public Shared Function InitializeAsFirstInstance (
uniqueName As String
) As Boolean
Public Shared Function InitializeAsFirstInstance (
uniqueName As String
) As Boolean
public:
static bool InitializeAsFirstInstance(
String^ uniqueName
)
public:
static bool InitializeAsFirstInstance(
String^ uniqueName
)
static member InitializeAsFirstInstance :
uniqueName : string -> bool
static member InitializeAsFirstInstance :
uniqueName : string -> bool
Return Value
Type:
Boolean