/// <summary> /// Logs target framework version and release version details /// </summary> internal static void LogVersionDetails() { EventSource logger = TraceLoggingProvider.GetProvider(); VersionInfo versionInfo = new VersionInfo(); versionInfo.TargetFrameworkVersion = NetfxVersionHelper.GetTargetFrameworkVersion(); versionInfo.NetfxReleaseVersion = NetfxVersionHelper.GetNetFXReleaseVersion(); logger?.Write(NetFxVersion, TelemetryEventSource.MeasuresOptions(), versionInfo); }
// Token: 0x06007D06 RID: 32006 RVA: 0x002328DC File Offset: 0x00230ADC internal static void LogVersionDetails() { EventSource provider = TraceLoggingProvider.GetProvider(); NetFxVersionTraceLogger.VersionInfo data = default(NetFxVersionTraceLogger.VersionInfo); data.TargetFrameworkVersion = NetfxVersionHelper.GetTargetFrameworkVersion(); data.NetfxReleaseVersion = NetfxVersionHelper.GetNetFXReleaseVersion(); if (provider != null) { provider.Write <NetFxVersionTraceLogger.VersionInfo>(NetFxVersionTraceLogger.NetFxVersion, TelemetryEventSource.MeasuresOptions(), data); } }