Exemple #1
0
        /// <summary>
        /// Obtain the server version from the server, if specified, and write it to the log.
        /// </summary>
        private void LogServerVersion()
        {
            ServerInfo info = RestAPIWrapper.GetServerInfo();

            if (!string.IsNullOrWhiteSpace(info.SuiteCRMVersion))
            {
                log.Info($"Connected to an instance of SuiteCRM version {info.SuiteCRMVersion}.");
            }
        }