Class for checking for updated versions using github.
상속: AsyncOperation
예제 #1
0
		private UpdateManager() {
			Assembly entryAssembly = Assembly.GetEntryAssembly();
			this.CurrentVersion = (entryAssembly != null) ? entryAssembly.GetName().Version.ToString() : "1.0.0.0";
			_current = this;
			this.UpdateInterval = 3600000; // 1 hour

			SystemEvents.PowerModeChanged += OnPowerChange;
		}
예제 #2
0
		private UpdateManager() {
			System.Reflection.Assembly assembly =  System.Reflection.Assembly.GetEntryAssembly();
			this.CurrentVersion = assembly != null ? assembly.GetName().Version.ToString() : "1.0.0.0";

			_current = this;
		}