KSC Open API
Kaspersky Security Center API description
params ServerTransportSettings::GetDefaultConnectionSettings ( wstring  szwCertType)

GetDefaultConnectionSettings. Returns default connection settings.

Parameters:
szwCertTypeCertificate type (can be "CERT_TYPE_MOBILE", "CERT_TYPE_EMBEDDED")
Returns:
Returned data format:
                "TRSP_SETTINGS_FQDN"                [paramString], default endpoint FQDN (from certificate)
                "TRSP_SETTINGS_PORT"                [paramInt], default endpoint port
                "TRSP_SETTINGS_OPEN_PORT"           [paramBool], true if port should be opened, false otherwise.
                "CERT_PUB"                          [paramBinary], current certificate's public key
                "TRSP_RESERVE_CERT_PUB"             [paramBinary], optional, reserve certificate's public key
                "TRSP_RESERVE_CERT_ACTIVATION_DATE" [DATETIME_T], optional, reserve certificate's activation date