コード例 #1
0
        private static void CheckForUpdates()
        {
            var updateManager = new WsapmUpdateManager();
            var updateStatus  = updateManager.CheckForUpdates();

            if (updateStatus.HasValue && updateStatus.Value)
            {
                WsapmLog.Log.WriteLine(string.Format(Resources.Wsapm_Core.WsapmManager_UpdateAvailable, updateManager.UpdateInformation.CurrentVersion), LogMode.Normal);
            }
        }