Skip to content

ConnectionConfiguration

Connection related configuration and settings.

Type

csharp
RoyalApps.Community.Rdp.WinForms.Configuration.Connection.ConnectionConfiguration

Properties

Compression (bool)

Specifies whether compression is enabled.

ConnectionKeepAliveInterval (int?)

The interval in seconds between keep-alive packets.

DisableUdpTransport (bool)

Disables RDP UDP transport and forces TCP transport. This is commonly useful when connecting through UDP-based VPN links.

EnableAutoReconnect (bool)

Specifies whether to enable the client control to reconnect automatically to a session in the event of a network disconnection.

EnableRdsAadAuth (bool)

Determines whether the client will use Microsoft Entra ID to authenticate to the remote PC. In Azure Virtual Desktop, this provides a single sign-on experience. Support: embedded and external sessions. External mode writes the standard enablerdsaadauth RDP property.

KeepAlive (bool)

When true, the session is kept alive through periodic, non-intrusive input simulation to help avoid idle-time disconnects.

KeepAliveInterval (int)

Gets or sets the interval, in seconds, between keep-alive actions.

KeepAliveMethod (KeepAliveMethod)

Gets or sets the method used to perform the keep-alive action.

LoadBalanceInfo (string?)

Specifies the load balancing cookie that will be placed in the X.224 Connection Request packet in the Remote Desktop Session Host (RD Session Host) server protocol connection sequence.

MaxReconnectAttempts (int)

Specifies the number of times to try to reconnect during automatic reconnection. Valid values are 0 to 200.

UseRedirectionServerName (bool)

Specifies whether the redirected server name should be used when the broker redirects the connection.

Back to API index

MIT Licensed