| Runtime Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: Openfin.Desktop
 Syntax
Syntaxpublic sealed class Runtime : DesktopStateListener, IOpenfinEntity, IDisposable
The Runtime type exposes the following members.
 Properties
Properties| Name | Description | |
|---|---|---|
|  | DesktopConnection | Obsolete. 
            Instance of the current DesktopConnection 
             | 
|  | InterApplicationBus | 
            Instance of the current InterApplicationBus
             | 
|  | Interop | |
|  | IsConnected | 
            Gets a value that indicates whether the Runtime instance is connected.
             | 
|  | Options | 
            Instance of the current RuntimeOptions.
             | 
|  | Port | 
            The current websocket connection port.
             | 
|  | SnapshotSource | |
|  | System | 
            The core DesktopSystem for this runtime instance.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Connect | 
            Connects to the runtime.
             | 
|  | ConnectAndRun | 
            Connects to the runtime and runs the application specified by the StartupApplicationOptions property.
             | 
|  | CreateApplication | 
            Creates a new application using the specified options.
             | 
|  | CreateFromManifest | Obsolete. 
            Creates an application from a application config file
             | 
|  | Disconnect | 
            Disconnects from the Runtime.
             | 
|  | Dispose | 
            Disposes the Runtime instance and closes the underlying connection.
             | 
|  | Equals | Determines whether the specified object is equal to the current object.(Inherited from Object.) | 
|  | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
|   | GetRuntimeInstance | 
            Gets either an existing Runtime Object for a specific version and security realm or creates a new connection to the given version.
             | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
|  | WrapApplication | 
            Wraps an existing application using the specified UUID.
             | 
|  | WrapExternalApplication | 
            Wraps an existing external application using the specified UUID.
             | 
 Events
Events| Name | Description | |
|---|---|---|
|  | Connected | 
            Connected Event.
             | 
|  | ConnectTimeout | 
            Connection Timeout Event.
             | 
|  | Disconnected | 
            Disconnected Event.
             | 
|  | Error | 
            Exceptions 
             | 
 See Also
See Also