0

As DotNetNuke.Common.Globals.DataBaseVersion getting obsolete, how to get "Dnn Database Version" using c#

Erick Lanford Xenes
  • 1,467
  • 2
  • 20
  • 34

1 Answers1

1

In the debug output of my theme/skin files I usually just do this as a 1 liner. Not sure if its the best, modern way, but currently not deprecated.

<p>DNN <%= DotNetNuke.Application.DotNetNukeContext.Current.Application.Version.ToString(3) %></p>

enter image description here

Jeremy Farrance
  • 740
  • 6
  • 11