C# 클래스 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.
파일 보기 프로젝트 열기: nano-byte/common 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void

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

비공개 메소드들

메소드 설명
AppMutex ( IEnumerable handles ) : System
Create ( [ name ) : bool
Create ( [ name, AppMutex &mutex ) : bool
Open ( [ name ) : bool
Probe ( [ name ) : bool

메소드 상세

Close() 공개 메소드

Closes all contained handles, allowing the mutex to be released.
public Close ( ) : void
리턴 void