Skip to content

GetClientVersion()

ts
// in class: Session
function GetClientVersion(): string;

This function returns the client software and version, if available.

NOTE

Not all client software honors the command(s) required to acquire this information, so this function may return an empty string.

Example

ts
{
  var client = Session.GetClientVersion();
  Log('Client software is: ' + client);  // ex: WinSCP_5.10.12
}