Class ServerInformation
Represents information about the Umbraco server instance.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public class ServerInformation
Constructors
View SourceServerInformation(SemVersion, TimeZoneInfo, RuntimeMode)
Represents information about the Umbraco server instance.
Declaration
public ServerInformation(SemVersion semVersion, TimeZoneInfo timeZoneInfo, RuntimeMode runtimeMode)
Parameters
| Type | Name | Description |
|---|---|---|
| SemVersion | semVersion | The semantic version of the Umbraco installation. |
| TimeZoneInfo | timeZoneInfo | The time zone information for the server. |
| RuntimeMode | runtimeMode | The current runtime mode of the server. |
Properties
View SourceRuntimeMode
Gets the current runtime mode of the server.
Declaration
public RuntimeMode RuntimeMode { get; }
Property Value
| Type | Description |
|---|---|
| RuntimeMode |
SemVersion
Gets the semantic version of the Umbraco installation.
Declaration
public SemVersion SemVersion { get; }
Property Value
| Type | Description |
|---|---|
| SemVersion |
TimeZoneInfo
Gets the time zone information for the server.
Declaration
public TimeZoneInfo TimeZoneInfo { get; }
Property Value
| Type | Description |
|---|---|
| TimeZoneInfo |