/// <summary> /// Return the version of Skyline that is running. /// </summary> /// <returns></returns> public SkylineTool.Version GetVersion() { var version = new SkylineTool.Version(); try { version.Major = Install.MajorVersion; version.Minor = Install.MinorVersion; version.Build = Install.Build; version.Revision = Install.Revision; } // ReSharper disable once EmptyGeneralCatchClause catch { } return(version); }
/// <summary> /// Return the version of Skyline that is running. /// </summary> /// <returns></returns> public SkylineTool.Version GetVersion() { var version = new SkylineTool.Version(); try { version.Major = Install.MajorVersion; version.Minor = Install.MinorVersion; version.Build = Install.Build; version.Revision = Install.Revision; } // ReSharper disable once EmptyGeneralCatchClause catch { } return version; }