With the ICmsContext
object you can get general information about the current platform.
⬇️ Result | Source ➡️
-
.Name
Current platform name is:
Dnn
-
.Type
Current platform type is:
Dnn
-
.Version
Current platform version is:
9.11.0.46
@inherits Custom.Hybrid.RazorTyped
<ol>
<li>
<code>.Name</code> Current platform name is:
<strong>@MyContext.Platform.Name</strong>
</li>
<li>
<code>.Type</code> Current platform type is:
<strong>@MyContext.Platform.Type</strong>
</li>
<li>
<code>.Version</code> Current platform version is:
<strong>@MyContext.Platform.Version</strong>
</li>
</ol>