Skip to content

Commit

Permalink
Change the string format of the NETFramework version from ToString(2)…
Browse files Browse the repository at this point in the history
… to ToString(3) to show the full 3 part .NET Framework version number in the PersonaBar
  • Loading branch information
jeremy-farrance authored and bdukes committed Sep 30, 2024
1 parent 2bb650f commit 9f4833f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static HostModel Current()
Version = "v." + Globals.FormatVersion(application.Version, true),
Product = application.Description,
UpgradeAvailable = upgradeIndicator != null,
Framework = isHost ? Globals.NETFrameworkVersion.ToString(2) : string.Empty,
Framework = isHost ? Globals.NETFrameworkVersion.ToString(3) : string.Empty,
IpAddress = System.Net.Dns.GetHostEntry(hostName).AddressList[0].ToString(),
Permissions = DotNetNuke.Framework.SecurityPolicy.Permissions,
Site = hostPortal.PortalName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public HttpResponseMessage GetServerInfo()
{
ProductName = DotNetNukeContext.Current.Application.Description,
ProductVersion = "v. " + Globals.FormatVersion(DotNetNukeContext.Current.Application.Version, true),
FrameworkVersion = isHost ? Globals.NETFrameworkVersion.ToString(2) : string.Empty,
FrameworkVersion = isHost ? Globals.NETFrameworkVersion.ToString(3) : string.Empty,
ServerName = isHost ? Globals.ServerName : string.Empty,
LicenseVisible = isHost && this.GetVisibleSetting("LicenseVisible"),
DocCenterVisible = this.GetVisibleSetting("DocCenterVisible"),
Expand Down

0 comments on commit 9f4833f

Please sign in to comment.