GetNamedSemaphore(Boolean, Int32, Int32) | Gets a uniquely named inter-process NamedSemaphore associated with the running application, typically used to detect whether some number of instances of the application are already running. |
GetNamedSemaphore(String, Int32, Int32, Boolean) | Gets a uniquely named inter-process NamedSemaphore associated with the specified name that identifies a source object needing concurrency locking. |