diff --git a/ICD.Common.Utils/ProcessorUtils.SimplSharp.cs b/ICD.Common.Utils/ProcessorUtils.SimplSharp.cs index f12e2a7..92e07bb 100644 --- a/ICD.Common.Utils/ProcessorUtils.SimplSharp.cs +++ b/ICD.Common.Utils/ProcessorUtils.SimplSharp.cs @@ -79,23 +79,11 @@ namespace ICD.Common.Utils /// Gets the processor firmware version. /// [PublicAPI] - public static Version ModelVersion + public static string ModelVersion { get { - string versionResult = VersionResult; - if (!String.IsNullOrEmpty(versionResult)) - { - Regex regex = new Regex(VER_REGEX); - Match match = regex.Match(VersionResult); - - if (match.Success) - return new Version(match.Groups["version"].Value); - } - - ServiceProvider.TryGetService() - .AddEntry(eSeverity.Warning, "Unable to get model version from \"{0}\"", VersionResult); - return new Version(0, 0); + return CrestronEnvironment.OSVersion.Firmware; } } diff --git a/ICD.Common.Utils/ProcessorUtils.Standard.cs b/ICD.Common.Utils/ProcessorUtils.Standard.cs index 71b0d2f..c764ed9 100644 --- a/ICD.Common.Utils/ProcessorUtils.Standard.cs +++ b/ICD.Common.Utils/ProcessorUtils.Standard.cs @@ -18,12 +18,12 @@ namespace ICD.Common.Utils /// Gets the processor firmware version. /// [PublicAPI] - public static Version ModelVersion + public static string ModelVersion { get { // TODO - return new Version("1.0.0.0"); + return null; } }