Documentation ¶
Index ¶
Constants ¶
View Source
const ( SourceNTLM int = iota SourceSmartCard SourceCurrent SourceBasic SourceUserSelect SourceCookie )
View Source
const (
CRLF = "\r\n"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
Settings RdpSettings
}
func NewBuilder ¶
func NewBuilder() *Builder
func NewBuilderFromFile ¶
type RdpSettings ¶
type RdpSettings struct { AllowFontSmoothing string `rdp:"allow font smoothing" default:"0"` AllowDesktopComposition string `rdp:"allow desktop composition" default:"0"` DisableFullWindowDrag string `rdp:"disable full window drag" default:"0"` DisableMenuAnims string `rdp:"disable menu anims" default:"0"` DisableThemes string `rdp:"disable themes" default:"0"` DisableCursorSetting string `rdp:"disable cursor setting" default:"0"` GatewayHostname string `rdp:"gatewayhostname"` FullAddress string `rdp:"full address"` AlternateFullAddress string `rdp:"alternate full address"` Username string `rdp:"username"` Domain string `rdp:"domain"` GatewayCredentialsSource int `rdp:"gatewaycredentialssource" default:"0"` GatewayCredentialMethod int `rdp:"gatewayprofileusagemethod" default:"0"` GatewayUsageMethod int `rdp:"gatewayusagemethod" default:"0"` GatewayAccessToken string `rdp:"gatewayaccesstoken"` PromptCredentialsOnce bool `rdp:"promptcredentialonce" default:"true"` AuthenticationLevel int `rdp:"authentication level" default:"3"` EnableCredSSPSupport bool `rdp:"enablecredsspsupport" default:"true"` EnableRdsAasAuth bool `rdp:"enablerdsaadauth" default:"false"` DisableConnectionSharing bool `rdp:"disableconnectionsharing" default:"false"` AlternateShell string `rdp:"alternate shell"` AutoReconnectionEnabled bool `rdp:"autoreconnectionenabled" default:"true"` BandwidthAutodetect bool `rdp:"bandwidthautodetect" default:"true"` NetworkAutodetect bool `rdp:"networkautodetect" default:"true"` Compression bool `rdp:"compression" default:"true"` VideoPlaybackMode bool `rdp:"videoplaybackmode" default:"true"` ConnectionType int `rdp:"connection type" default:"2"` AudioCaptureMode bool `rdp:"audiocapturemode" default:"false"` EncodeRedirectedVideoCapture bool `rdp:"encode redirected video capture" default:"true"` RedirectedVideoCaptureEncodingQuality int `rdp:"redirected video capture encoding quality" default:"0"` AudioMode int `rdp:"audiomode" default:"0"` CameraStoreRedirect string `rdp:"camerastoredirect" default:"false"` DeviceStoreRedirect string `rdp:"devicestoredirect" default:"false"` DriveStoreRedirect string `rdp:"drivestoredirect" default:"false"` KeyboardHook int `rdp:"keyboardhook" default:"2"` RedirectClipboard bool `rdp:"redirectclipboard" default:"true"` RedirectComPorts bool `rdp:"redirectcomports" default:"false"` RedirectLocation bool `rdp:"redirectlocation" default:"false"` RedirectPrinters bool `rdp:"redirectprinters" default:"true"` RedirectSmartcards bool `rdp:"redirectsmartcards" default:"true"` RedirectWebAuthn bool `rdp:"redirectwebauthn" default:"true"` UsbDeviceStoRedirect string `rdp:"usbdevicestoredirect"` UseMultimon bool `rdp:"use multimon" default:"false"` SelectedMonitors string `rdp:"selectedmonitors"` MaximizeToCurrentDisplays bool `rdp:"maximizetocurrentdisplays" default:"false"` SingleMonInWindowedMode bool `rdp:"singlemoninwindowedmode" default:"0"` ScreenModeId int `rdp:"screen mode id" default:"2"` SmartSizing bool `rdp:"smart sizing" default:"false"` DynamicResolution bool `rdp:"dynamic resolution" default:"true"` DesktopSizeId int `rdp:"desktop size id"` DesktopHeight int `rdp:"desktopheight"` DesktopWidth int `rdp:"desktopwidth"` DesktopScaleFactor int `rdp:"desktopscalefactor"` BitmapCacheSize int `rdp:"bitmapcachesize" default:"1500"` BitmapCachePersistEnable bool `rdp:"bitmapcachepersistenable" default:"true"` RemoteApplicationCmdLine string `rdp:"remoteapplicationcmdline"` RemoteAppExpandWorkingDir bool `rdp:"remoteapplicationexpandworkingdir" default:"true"` RemoteApplicationFile string `rdp:"remoteapplicationfile" default:"true"` RemoteApplicationIcon string `rdp:"remoteapplicationicon"` RemoteApplicationMode bool `rdp:"remoteapplicationmode"` RemoteApplicationName string `rdp:"remoteapplicationname"` RemoteApplicationProgram string `rdp:"remoteapplicationprogram"` }
Click to show internal directories.
Click to hide internal directories.