Welcome Guest! To enable all features please Login or Register.
Options
View
Go to last post Go to first unread
Offline parkerseal  
#1 Posted : Friday, July 21, 2017 8:22:04 AM(UTC)
parkerseal


Rank: YAF Camper

Reputation:

Joined: 12/13/2013(UTC)
Posts: 13

Thanks: 3 times
Was thanked: 1 time(s) in 1 post(s)
Would it be possible to change the Platform.RuntimeString in YAF.Utils\YafSystemInfo.cs to use the method illustrated here?

The reason for this is that having just upgraded, I noticed on the admin_hostsettings page that the .NET Runtime Version was being reported as.NET 4.0.30319.36392. This had me worried as I thought it was 4.0; in fact this is the correct Environment.Version for 4.5.2. But I guess most users would also think it's 4.0.

Edited by user Friday, July 21, 2017 8:26:04 AM(UTC)  | Reason: correct typo

Sponsor
Offline tha_watcha  
#2 Posted : Monday, July 24, 2017 9:39:15 AM(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 3/6/2010(UTC)
Posts: 3,743
Germany

Thanks: 70 times
Was thanked: 1149 time(s) in 979 post(s)
Originally Posted by: parkerseal Go to Quoted Post
Would it be possible to change the Platform.RuntimeString in YAF.Utils\YafSystemInfo.cs to use the method illustrated here?

The reason for this is that having just upgraded, I noticed on the admin_hostsettings page that the .NET Runtime Version was being reported as.NET 4.0.30319.36392. This had me worried as I thought it was 4.0; in fact this is the correct Environment.Version for 4.5.2. But I guess most users would also think it's 4.0.


Yes i changed the code to use the registry. this will be included in YAF 2.2.5/2.3.0

thanks 1 user thanked tha_watcha for this useful post.
parkerseal on 7/24/2017(UTC)
Rss Feed  Atom Feed
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error