Skip to content

DisconnectedEventArgs

Provides data for the RdpControl.OnDisconnected event.

Type

csharp
RoyalApps.Community.Rdp.WinForms.Controls.Events.DisconnectedEventArgs

Used By

Properties

Description (required string)

Gets the description associated with DisconnectedEventArgs.DisconnectCode.

DisconnectCode (required int)

Gets the disconnect code reported by the ActiveX control or external session wrapper.

ExternalProcessId (int?)

Gets the external client process ID when DisconnectedEventArgs.SessionMode is RdpSessionMode.External.

SessionMode (RdpSessionMode)

Indicates how the session was hosted.

ShowError (required bool)

Gets a value indicating whether the disconnect should be treated as an error.

UserInitiated (required bool)

Gets a value indicating whether the session ended because of user interaction.

Back to API index

MIT Licensed