using Shaker.Model; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace ShakerApp.ViewModels { internal class AboutViewModel:ViewModelBase { private AboutViewModel() { Content = typeof(Views.AboutView); ButtonVisibily = false; } static AboutViewModel() { } public override double Width => 600; public override double Height => 420; public override bool CanResize => false; public string OSVersion => Environment.OSVersion.VersionString; public string FrameworkVersion => RuntimeInformation.FrameworkDescription; public string MachineName => Environment.MachineName; public string Version => Assembly.GetEntryAssembly()?.GetName()?.Version?.ToString() ?? "Unknown"; public static AboutViewModel Instance { get; } = new AboutViewModel(); } }