Skip to content

GatewayConfiguration

Remote Desktop Gateway configuration and settings.

Type

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

Properties

GatewayCredSharing (bool)

Specifies or retrieves the setting for whether the Remote Desktop Gateway (RD Gateway) credential sharing feature is enabled. When the feature is enabled, the Remote Desktop ActiveX control tries to use the same credentials to authenticate to the Remote Desktop Session Host (RD Session Host) server and to the RD Gateway server. Support: embedded and external sessions. External mode writes promptcredentialonce.

GatewayCredsSource (GatewayCredentialSource)

Specifies or retrieves the Remote Desktop Gateway (RD Gateway) authentication method. Support: embedded and external sessions. External mode writes gatewaycredentialssource.

GatewayDomain (string?)

Specifies or retrieves the domain name of a user that is provided to the Remote Desktop Gateway (RD Gateway) server. Support: embedded and external sessions. External mode writes gatewaydomain.

GatewayHostname (string?)

Specifies the host name of the Remote Desktop Gateway (RD Gateway) server. Support: embedded and external sessions. External mode writes gatewayhostname.

GatewayPassword (SensitiveString?)

Specifies the password that is used to authenticate to the Remote Desktop Gateway (RD Gateway) server. Support: embedded sessions directly. External mode does not serialize the password into the generated .rdp file, but can stage it in Windows Credential Manager when credential manager integration is enabled.

GatewayProfileUsageMethod (GatewayProfileUsageMethod)

Specifies whether to use default Remote Desktop Gateway (RD Gateway) settings. Support: embedded and external sessions. External mode writes gatewayprofileusagemethod.

GatewayUsageMethod (GatewayUsageMethod)

Specifies when to use a Remote Desktop Gateway (RD Gateway) server. Support: embedded and external sessions. External mode writes gatewayusagemethod.

GatewayUsername (string?)

Specifies or retrieves the user name that is provided to the Remote Desktop Gateway (RD Gateway) server. Support: embedded and external sessions. External mode writes gatewayusername.

GatewayUserSelectedCredsSource (GatewayCredentialSource)

Sets or retrieves the user-specified Remote Desktop Gateway (RD Gateway) credential source. Support: embedded and external sessions. External mode writes gatewayuserselectedcredentialssource.

Back to API index

MIT Licensed