Get Parallels Client Version (GetVersion)

The GetVersion command allows to determine on the web server side which Parallels Client version is installed on a user device, or if the Parallels Client is installed at all. If Parallels Client is an older version or not installed on a device, you can display a message to the user with a link from which they can download and install the correct version of Parallels Client.

The command works as follows:

  1. A user opens a custom scheme URL with the GetVersion command in it.

  2. The URL starts Parallels Client which receives the parameters contained in the URL, including server name, port number, the web portal session ID, and the path to which Parallels Client needs to connect to pass its version information back to the web portal.

  3. The Parallels Client uses the received information and connects to the web portal using the specified path with the version information appended to it.

  4. The web portal parses the received data and evaluates the Parallels Client version number. If the request times out (no response is received from Parallels Client), it means that Parallels Client is not installed on the user device.

The following table describes the GetVersion command options:

KeyDatatypeValue

Command

String

The name of the command to execute. In this instance, it's "GetVersion".

Server

String

The server on which the web portal is hosted. Server can be specified by IP address or its local name.

Port

Int

The port number of the web portal

Session

String

The web portal Session ID.

Secure

Boolean

The SSL boolean value.

Path

String

The path to which Parallels Client needs to connect in order to pass the version information.

The OS type and the Parallels Client version info need to be specified with the path:

OS:

  • Key: os

  • Type: Int

  • Value: 0 (Windows); 1 (Linux); 2 (macOS); 4 (Android); 5 (iOS).

Version:

  • Key: version

  • Type: String

  • Value: The Parallels Client version. This needs to be URL encoded.

RequestPage

String

The exact path of the current web portal page from where the URL was opened.

This is used in iOS, so that the iOS client can redirect the user back to the RAS Web Portal page.

URL example

tuxclient:///?Command=GetVersion&Server=my.server.testing&Port=80&Session=adm2dpjq3jomvk45mzktuy45&Secure=NO&Path=%2fmywebportal%2fTuxClientDetection.aspx%3fapp%3d2XClient%26installed%3d1&RequestPage=http://my.server.testing/mywebportal/Logon.aspx

Last updated

Other Resources

Feedback

© 2024 Parallels International GmbH. All rights reserved.