The SingleProgramInstance type exposes the following members.

Constructors

  Name Description
Public method SingleProgramInstance()()()()
Initializes a new instance of the SingleProgramInstance class.
Public method SingleProgramInstance(String)
Initializes a new instance of the SingleProgramInstance class using the specified string as the process identifier.

Methods

  Name Description
Public method Dispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method RaiseOtherProcess
If another istance of the application is already running, raises the other process.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Extension Methods

  Name Description
Public Extension Method IsNullOrDBNull
Inidicates whether the specified Object is null or DBNull.
(Defined by ObjectExtensions.)

Properties

  Name Description
Public property IsSingleInstance
Gets a value indicating whether this instance is single instance.

See Also