Method InitializeAsFirstInstance
- Namespace
- Innova.Prism.Library.ClassDefinitions
- Assembly
- Innova.Prism.Library.dll
InitializeAsFirstInstance(string)
Checks if the instance of the application attempting to start is the first instance. If not, activates the first instance.
public static Task<bool> InitializeAsFirstInstance(string uniqueName)
Parameters
uniqueName
stringThe unique name of the application.