Types

Top  Previous  Next

 

As you have already probably seen on the Methods sections, the WSProfile and the WSProfileArray type are sent and received as parameters of many methods. Here, you can learn what are these types and how to manage them.

 

Type name

Kind

Description

Values range

WSProfile

Complex

The WSProfile type represents one profile.

It has all the attributes that describe a profile.

 

 

WSProfileArray

Complex

The WSProfileArray is an array of WSProfile. It is used mostly as a parameter for methods that retrieve more than one profile from the server.

 

 

TRdpCredentials

Simple

This type is used to describe the kind of authentication the WSProfile will perform. "crAuthenticated" means no username and password will be required. "crAsk" will use the username and password configured inside the profile. When "crSaved" is set up, the profile will authenticate automatically using the same application credentials.

"crAuthenticated"

"crAsk"

"crSaved"

TRdpScreenBPP

Simple

Color Depth: sets the WSProfile remote desktop screen number of bits per pixel .

Set "bpp8" for 256 colors; "bpp15" for True Color (15 bit); "bpp16" for True Color (16 bit) ; "bpp24" for True Color (24 bit) ; "bpp32" for True Color (32 bit)

"bpp8",

"bpp15",

"bpp16",

"bpp24",

"bpp32"

TRdpScreenResolution

Simple

WSProfile remote desktop screen resolution.

"srCustom",

"srFitToBrowser",

"srFitToScreen",

"sr640x480",

"sr800x600",

"sr1024x768",

"sr1280x720",

"sr1280x768",

"sr1280x1024",

"sr1440x900",

"sr1440x1050",

"sr1600x1200",

"sr1680x1050",

"sr1920x1080",

"sr1920x1200"

TRdpImageQuality

Simple

WSProfile remote desktop image quality.

"iqHighest",

"iqOptimal",

"iqGood",

"iqFaster"

TRdpAppMode

Simple

The application mode is used to determine if ThinRDP will open a specific application and the mode it will use to do it.

The "amNone" value will show the whole desktop mode. The "StartApp" and "RemoteApp" are  the two possible modes of connecting to a remote application.

"amNone",

"amStartApp",

"amRemoteApp"

TRdpSoundQuality

Simple

This type is used to describe the different sound qualities that ThinRDP works with.

"sqPoor"

"sqGood"

"sqOptimal"

"sqExcellent"