GeneralFunctions.IsInitialInstance Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Ensures only one copy of the executing application is running at a time.
public:
static bool IsInitialInstance();
public static bool IsInitialInstance();
static member IsInitialInstance : unit -> bool
Public Shared Function IsInitialInstance () As Boolean
Returns
True
if it is the initial instance, otherwise false
.