SingleProgamInstance uses a mutex synchronization object
to ensure that only one copy of process is running at
a particular time. It also allows for UI identification
of the intial process by bring that window to the foreground.
Namespace: System.ExtensionsAssembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)
Syntax
C# |
---|
public sealed class SingleProgramInstance : IDisposable |
Visual Basic |
---|
Public NotInheritable Class SingleProgramInstance
Implements IDisposable |
Visual C++ |
---|
public ref class SingleProgramInstance sealed : IDisposable |
F# |
---|
[<SealedAttribute>]
type SingleProgramInstance =
class
interface IDisposable
end |
Inheritance Hierarchy
See Also