// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // The About View Model // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrakeWPF.ViewModels { using System; using HandBrake.Interop.Interop; using HandBrakeWPF.Properties; using HandBrakeWPF.ViewModels.Interfaces; /// /// The About View Model /// public class AboutViewModel : ViewModelBase, IAboutViewModel { /// /// Initializes a new instance of the class. /// public AboutViewModel() { } /// /// Gets Version. /// public string Version { get { return string.Format("{0}", HandBrakeVersionHelper.GetVersion()); } } public string License { get => string.Format("{0}{1}{1}{2}", Resources.About_Copyright, Environment.NewLine, Resources.About_GPL); } } }