void WriteStartupLogs() { var appVersion = this.GetType().Assembly.GetName().Version; Wu10Logger.LogInfo($"Application version: v{appVersion.ToString()}"); Wu10Logger.LogInfo(EnvironmentVersionHelper.GetWindowsVersion()); Wu10Logger.LogInfo($".Net Framework: {EnvironmentVersionHelper.GetDotNetFrameworkBuild()}"); }
private void WriteStartupLogs() { var appVersion = GetType().Assembly.GetName().Version; _logWriter.LogInfo($"Application version: v{appVersion}"); var registryEditor = DependencyManager.Resolve <IRegistryEditor>(); _logWriter.LogInfo(EnvironmentVersionHelper.GetWindowsVersion(registryEditor)); _logWriter.LogInfo($".Net Framework: {EnvironmentVersionHelper.GetDotNetFrameworkBuild(registryEditor)}"); }