C# Class NanoByte.Common.AppMutex

Provides a cross-process object allowing easy dection of application instances (e.g., for use by installers and update tools).
System.Threading.Mutex is intended for synchronizing access to shared resources while this class is intended to detect application instances.
Afficher le fichier Open project: nano-byte/common Class Usage Examples

Méthodes publiques

Méthode Description
Close ( ) : void

Closes all contained handles, allowing the mutex to be released.

Private Methods

Méthode Description
AppMutex ( IEnumerable handles ) : System
Create ( [ name ) : bool
Create ( [ name, AppMutex &mutex ) : bool
Open ( [ name ) : bool
Probe ( [ name ) : bool

Method Details

Close() public méthode

Closes all contained handles, allowing the mutex to be released.
public Close ( ) : void
Résultat void