FreeRdpControl
Hosts the FreeRDP session created wfreerdp.exe.
Type
RoyalApps.Community.FreeRdp.WinForms.FreeRdpControlProperties
Configuration (FreeRdpConfiguration)
FreeRDP configuration settings
DiagnosticsOptionsProvider (Func<FreeRdpDiagnosticsOptions?>?)
Invoked before every client launch. Return null to leave native diagnostics unchanged.
Logger (ILogger)
Logger instance
Events
CertificateError
Handler Type: EventHandler<CertificateErrorEventArgs>?
Raised when the TLS handshake fails because if an incorrect server certificate.
Connected
Handler Type: EventHandler?
Raised when wfreerdp.exe has been started.
DiagnosticOutput
Handler Type: EventHandler<FreeRdpDiagnosticEventArgs>?
Native diagnostic output. Handlers must be thread-safe and must not block.
Disconnected
Handler Type: EventHandler<DisconnectEventArgs>?
Raised when wfreerdp.exe has exited.
VerifyCredentials
Handler Type: EventHandler<VerifyCredentialsEventArgs>?
Raised when login failed.
Methods
Constructor()
FreeRdpControl constructor
Connect()
Returns: void
Starts the FreeRDP session using the wfreerdp.exe
Disconnect()
Returns: void
Ends the FreeRDP session by ending the wfreerdp.exe process.
ResetZoom()
Returns: void
Resets the zoom factor to the initial zoom factor
SetZoomLevel(Int32)
Returns: void
Sets the desired zoom level (DPI) in percent of the remote desktop session. The value must be in the range between 100 and 500.
Parameters
scalingInPercent(int): Scaling factor in percent
ZoomIn()
Returns: void
Increase zoom factor
ZoomOut()
Returns: void
Decrease zoom factor
