With this object you can get general information about the current platform.
<h3>The .Name attribute:</h3> The current platform name is: <strong> @CmsContext.Platform.Name </strong>
<h3>The .Type attribute:</h3> The current platform type is: <strong> @CmsContext.Platform.Type </strong>
<h3>The .Version attribute:</h3> The current platform version is: <strong> @CmsContext.Platform.Version </strong>
Below you'll see the source code of the file. Note that we're just showing the main part, and hiding some parts of the file which are not relevant for understanding the essentials. Click to expand the code
@inherits Custom.Hybrid.Razor14 <!-- unimportant stuff, hidden --> Interface ICmsPlatform With this object... <!-- unimportant stuff, hidden --> <h3>The .Name attribute:</h3> The current platform name is: <strong> @CmsContext.Platform.Name </strong> <h3>The .Type attribute:</h3> The current platform type is: <strong> @CmsContext.Platform.Type </strong> <h3>The .Version attribute:</h3> The current platform version is: <strong> @CmsContext.Platform.Version </strong> <!-- unimportant stuff, hidden -->