示例#1
0
        public override void DidFinishLaunching(NSNotification notification)
        {
            suupdater.AutomaticallyChecksForUpdates = true;
            suupdater.CheckForUpdatesInBackground();

            NewHandler(this);
        }
示例#2
0
        /// <summary>
        /// Initialize and check for updates (if it was not done before)
        /// </summary>
        public static void InitializeUpdater()
        {
            lock (__locker)
            {
                if (__updater == null)
                {
                    Initialize();

                    // Start update-check
                    __updater.InvokeOnMainThread(() => {
                        __updater.CheckForUpdatesInBackground();
                    });
                }
            }
        }