FreeRdpConfiguration
Encapsulates configuration for FreeRdpControl.
Type
RoyalApps.Community.FreeRdp.WinForms.Configuration.FreeRdpConfigurationUsed By
Properties
AdditionalArguments (string?)
AdditionalArguments: Specify one or more additional arguments when wfreerdp.exe is called
Admin (bool)
Admin (or console) session
Aero (bool)
Desktop composition
AudioRedirection (AudioRedirectionMode) ↗
Sets and retrieves the audio redirection mode and different audio redirection options.
Command line argument: /audio-mode:[0|1|2]
Value Description
0 Redirect locally
1 Leave on server
2 None
AutoReconnect (bool)
Automatic reconnection
AutoReconnectMaxRetries (int?)
Automatic reconnection maximum retries, 0 for unlimited [0, 1000]
AutoScaling (bool)
AutoScaling: When enabled, the initial scale factor is determined based on DPI settings
Cache (CacheConfiguration)
Cache configuration
Certificate (CertificateConfiguration)
Certificate configuration
Clipboard (bool)
RedirectClipboard (default on): -clipboard
ColorDepth (BitsPerPixel) ↗
Session bpp (color depth)
Command line argument: /bpp:[8|16|24|32]
Compression (bool)
Compression (default on): -compression
DesktopHeight (int)
DesktopHeight (pixel): /h:DesktopHeight
DesktopScaleFactor (int)
DesktopScaleFactor in percent (100-500): /scale-desktop:DesktopScaleFactor
DesktopWidth (int)
DesktopWidth (pixel): /w:DesktopWidth
DeviceScaleFactor (int)
DeviceScaleFactor (100, 140, 180): /scale:DeviceScaleFactor Recommended values: 100: for DesktopScaleFactor of 100 140: for DesktopScaleFactor between 100 and 199 180: for DesktopScaleFactor of 200 or more
Domain (string?)
Domain: /d:Domain
Executable (string?)
The full path to an alternative wfreerdp.exe
Fonts (bool)
SmoothFonts (default on): -fonts
Gateway (GatewayConfiguration)
Gateway configuration
GDI (GDIRendering) ↗
GDI rendering mode.
Command line argument: /gdi:[sw|hw]
KeyboardLayout (string?)
KeyboardLayout (0xlayout-id or layout name): /kdb:layout:[0xlayout-id]|[layout-name]
LoadBalanceInfo (string?)
Load balance info
MenuAnimations (bool)
MenuAnimations (default: off): +menu-anims
Network (NetworkConnectionType) ↗
Network connection type is not specified. The default value of wfreerdp.exe is used.
Command line argument: /network:[modem|broadband[-low|-high]|wan|lan|auto[detect]]
ParentWindow (long)
ParentWindow: /parent-window:ParentWindow
Password (string?)
Password: /p:Password
PCB (string?)
PCB (Preconnection Blob): /pcb:PCB
Port (int)
Port: /port:Port
ProtocolSecurityNegotiation (bool)
ProtocolSecurityNegotiation (default on): -nego
Proxy (ProxyConfiguration)
ProxyConfiguration /proxy:[http|socks5]😕/[username]:[password]@hostname:port
RestrictedAdminMode (bool)
Restricted admin mode
Security (SecurityConfiguration)
ProxyConfiguration /proxy:[http|socks5]😕/[username]:[password]@hostname:port
Server (string)
Server hostname: /v:Server
Shell (string?)
StartProgram (Alternate shell): /shell:StartProgram
ShellDir (string?)
WorkDir (Shell working directory): /shell-dir:WorkDir
SmartReconnect (bool)
SmartReconnect: When enabled, the connection will be re-established to adapt to the new desktop size
TempPath (string)
TempPath: The directory where wfreerdp.exe is written to if not already available
Themes (bool)
Themes (default: on): -themes
Username (string?)
Username: /u:Username
VMId (string?)
VMId (use port 2179, disable negotiation): /vmconnect:VMId
Wallpaper (bool)
Wallpaper (default: on): -wallpaper
WindowDrag (bool)
Window Drag (default off): +window-drag
Methods
Validate(ComponentModel.DataAnnotations.ValidationContext)
Returns: IEnumerable<ValidationResult>
No summary available.
Parameters
validationContext(ValidationContext): No description available.
