GetClientVersion()

// 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

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