Skip to content

Make.SingleInstance(string, bool) method

Defined in

Type: Make Namespace: System.Windows Assembly: CrissCross.WPF.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public static void SingleInstance(string appName, bool uniquePerUser = true)

View source

Summary: Makes the specified application Single Instance.

Parameters

NameTypeDescription
appNamestringName of the application, use a Guid in the Name to ensure unique.
uniquePerUser = trueboolif set to true [unique per user].