Click or drag to resize

Runtime Class

Class representing an OpenFin Runtime object.
Inheritance Hierarchy
SystemObject
  Openfin.DesktopRuntime

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.5.1
Syntax
C#
public sealed class Runtime : DesktopStateListener, 
	IOpenfinEntity, IDisposable

The Runtime type exposes the following members.

Properties
  NameDescription
Public propertyDesktopConnection Obsolete.
Instance of the current DesktopConnection
Public propertyInterApplicationBus
Instance of the current InterApplicationBus
Public propertyInterop
Public propertyIsConnected
Gets a value that indicates whether the Runtime instance is connected.
Public propertyOptions
Instance of the current RuntimeOptions.
Public propertyPort
The current websocket connection port.
Public propertySnapshotSource
Public propertySystem
The core DesktopSystem for this runtime instance.
Top
Methods
  NameDescription
Public methodConnect
Connects to the runtime.
Public methodConnectAndRun
Connects to the runtime and runs the application specified by the StartupApplicationOptions property.
Public methodCreateApplication
Creates a new application using the specified options.
Public methodCreateFromManifest Obsolete.
Creates an application from a application config file
Public methodDisconnect
Disconnects from the Runtime.
Public methodDispose
Disposes the Runtime instance and closes the underlying connection.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetRuntimeInstance
Gets either an existing Runtime Object for a specific version and security realm or creates a new connection to the given version.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWrapApplication
Wraps an existing application using the specified UUID.
Public methodWrapExternalApplication
Wraps an existing external application using the specified UUID.
Top
Events
  NameDescription
Public eventConnected
Connected Event.
Public eventConnectTimeout
Connection Timeout Event.
Public eventDisconnected
Disconnected Event.
Public eventError
Exceptions
Top
See Also