var netCoreVer = System.Environment.Version; // 3.0.0 var runtimeVer = System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription; // .NET Core 3.0.0-preview4.19113.15