コード例 #1
0
        private void GetApplicationVersionNumber()
        {
            var version = AppUpdateChecker.GetCurrentApplicationVersion();

            textBlockVersionNumber.Text = "Version: " + version.Remove(version.Length - 2);
#if DEBUG
            Debug.WriteLine(TAG + "RikoRPC version is: " + version);
#endif
        }
コード例 #2
0
        private void GetApplicationVersionNumber()
        {
            var version = AppUpdateChecker.GetCurrentApplicationVersion();

#if DEBUG
            textBlockVersionNumber.Content = version.Remove(version.Length - 2) + "-dev_build";
#else
            textBlockVersionNumber.Content = version.Remove(version.Length - 2);
#endif

#if DEBUG
            Debug.WriteLine(TAG + "RikoRPC version is: " + version);
#endif
        }