''----------------------------------------------------------------------------------------------------
'' this routine converts citrix internal build numbers to actual client version numbers
''----------------------------------------------------------------------------------------------------
'' Sources --
''
'' http://forums.citrix.com/message.jspa?messageID=558285
'' http://support.citrix.com/article/CTX112613
''----------------------------------------------------------------------------------------------------
'' Last Update: 2013-03-04 15:18
''----------------------------------------------------------------------------------------------------
ShortVer = "": LongVer = ""
Select Case session.ClientBuild
Case 0: LongVer = "Disconnected": ShortVer = " "
Case 1: LongVer = "12.1.44"
Case 3: LongVer = "11.2.2"
Case 6: LongVer = "12.0.3"
Case 8: LongVer = "12.3.0"
Case 22: LongVer = "13.1.200": ShortVer = "3.2"
Case 25: LongVer = "13.4.0.25": ShortVer = "3.4"
Case 30: LongVer = "12.1"
Case 55: LongVer = "13.3.0.55": ShortVer = "3.3"
Case 89: LongVer = "13.1 (R3.1)": ShortVer = "3.1"
Case 142: LongVer = "Java Client": ShortVer = "Java"
Case 304: LongVer = "6.30 (Mac)"
Case 314: LongVer = "6.30 (Mac)": ShortVer = "6.30"
Case 317: LongVer = "3.00"
Case 323: LongVer = "6.30 (Mac)": ShortVer = "6.30"
Case 324: LongVer = "3.00"
Case 326: LongVer = "6.30 (Mac)": ShortVer = "6.30"
Case 330: LongVer = "3.00"
Case 349: LongVer = "3.00"
Case 400: LongVer = "7.00 (Mac)": ShortVer = "7.00"
Case 402: LongVer = "7.00 (Mac)": ShortVer = "7.00"
Case 405: LongVer = "7.00 (Mac)": ShortVer = "7.00"
Case 406: LongVer = "7.00 (Mac)": ShortVer = "7.00"
Case 407: LongVer = "7.00 (Mac)": ShortVer = "7.00"
Case 411: LongVer = "7.00 (Mac)": ShortVer = "7.00"
Case 500: LongVer = "7.10 (Mac)": ShortVer = "7.10"
Case 581: LongVer = "4.0.581": ShortVer = "4.00"
Case 600: LongVer = "10.00.600 (Mac)": ShortVer = "10.00"
Case 601: LongVer = "10.00.601 (Mac)": ShortVer = "10.00"
Case 603: LongVer = "10.00.603 (Mac)": ShortVer = "10.00"
Case 606: LongVer = "4.00.606": ShortVer = "4.00"
Case 609: LongVer = "4.00"
Case 614: LongVer = "4.00"
Case 700: LongVer = "iPhone/iPad": ShortVer = "iPad" '' 5.7.1
Case 715: LongVer = "4.20.715": ShortVer = "4.20"
Case 727: LongVer = "4.20.727": ShortVer = "4.20"
Case 730: LongVer = "Wyse 1200le"
Case 741: LongVer = "4.20.741": ShortVer = "4.20"
Case 779: LongVer = "4.21.779": ShortVer = "4.21"
Case 910: LongVer = "6.00.910": ShortVer = "6.00"
Case 961: LongVer = "6.01"
Case 963: LongVer = "6.01.963": ShortVer = "6.01"
Case 964: LongVer = "6.01.964": ShortVer = "6.01"
Case 967: LongVer = "6.01.967": ShortVer = "6.01"
Case 985: LongVer = "6.20.985": ShortVer = "6.20"
Case 986: LongVer = "6.20.986": ShortVer = "6.20"
Case 1041: LongVer = "7.00"
Case 1050: LongVer = "6.30.1050": ShortVer = "6.30"
Case 1051: LongVer = "6.31.1051": ShortVer = "6.31"
Case 1414: LongVer = "7.0 (Java)": ShortVer = "7.0"
Case 1679: LongVer = "8.1 (Java)": ShortVer = "8.1"
Case 1868: LongVer = "9.4 (Java)": ShortVer = "9.4"
Case 1876: LongVer = "9.5 (Java)": ShortVer = "9.5"
Case 2600: LongVer = "5.01.2600 (RDP)": ShortVer = "5.01"
Case 2650: LongVer = "10.200"
Case 3790: LongVer = "5.2.3790 (RDP)": ShortVer = "5.2"
Case 5357: LongVer = "11.0.150"
Case 6000: LongVer = "6.0 (RDP)": ShortVer = "6.0"
Case 6001: LongVer = "6.0.1 (RDP)": ShortVer = "6.0"
Case 6410: LongVer = "12.0"
Case 6685: LongVer = "13.0 (R3)": ShortVer = "3.0"
Case 6931: LongVer = "10.2.2"
Case 8292: LongVer = "10.25"
Case 10359: LongVer = "10.13"
Case 11200: LongVer = "11.2 (Mac)": ShortVer = "11.2"
Case 11300: LongVer = "11.3 (Mac)": ShortVer = "11.3"
Case 11400: LongVer = "11.4 (Mac)": ShortVer = "11.4"
Case 11403: LongVer = "11.4.3 (Mac)": ShortVer = "11.4"
Case 11500: LongVer = "11.5 (Mac)": ShortVer = "11.5"
Case 11600: LongVer = "11.6 (Mac)": ShortVer = "11.6"
Case 11700: LongVer = "11.7 (Mac)": ShortVer = "11.7"
Case 12221: LongVer = "10.x (Linux)": ShortVer = "10.x"
Case 13126: LongVer = "7.00 (Solaris)": ShortVer = "7.00"
Case 17106: LongVer = "7.0"
Case 17534: LongVer = "7.00.17534": ShortVer = "7.00"
Case 19460: LongVer = "11.1"
Case 20497: LongVer = "7.01.20497": ShortVer = "7.01"
Case 21825: LongVer = "7.100.21825": ShortVer = "7.10"
Case 22650: LongVer = "7.100.22650": ShortVer = "7.10"
Case 24737: LongVer = "8.00.24737": ShortVer = "8.00"
Case 26449: LongVer = "8.0"
Case 27334: LongVer = "11.1.1 (Linux)"
Case 28519: LongVer = "8.05"
Case 29670: LongVer = "8.100.29670": ShortVer = "8.10"
Case 30817: LongVer = "8.26"
Case 31327: LongVer = "9.00"
Case 31560: LongVer = "11.2"
Case 32649: LongVer = "9.00.32649": ShortVer = "9.00"
Case 32891: LongVer = "9.00"
Case 35078: LongVer = "9.00"
Case 36280: LongVer = "9.100.36280": ShortVer = "9.10"
Case 36824: LongVer = "9.02 (winCE)"
Case 39151: LongVer = "9.150.39151": ShortVer = "9.15"
Case 44236: LongVer = "9.15 (WinCE)"
Case 44367: LongVer = "9.20"
Case 44376: LongVer = "9.200.44376": ShortVer = "9.20"
Case 44467: LongVer = "10.0 (Linux)": ShortVer = "10.0"
Case 45418: LongVer = "10.00.45418": ShortVer = "10.00"
Case 45780: LongVer = "9.2"
Case 46192: LongVer = "9.18 (WinCe)"
Case 49686: LongVer = "10.00.49686": ShortVer = "10.00"
Case 50123: LongVer = "10.6 (Linux)": ShortVer = "10.6"
Case 50211: LongVer = "9.23.50211": ShortVer = "9.23"
Case 52110: LongVer = "10.00.52110": ShortVer = "10.00"
Case 52504: LongVer = "9.20"
Case 53063: LongVer = "9.237"
Case 55362: LongVer = "10.08"
Case 55836: LongVer = "10.100"
Case 58643: LongVer = "10.150"
Case 115659: LongVer = "10.6 (Linux)": ShortVer = "10.6"
Case Else
LongVer = "Unknown"
End Select
Apparently all iPads have a build of 700 regardless of what version is actually installed. I just tested this with 5.7.1 receiver for iPad and it (still) says build 700.
ReplyDelete