Share via


ServiceHostInformation.OperatingSystemVersion Property

Definition

Gets or sets the version of the operating system the service host is running on.

public:
 property Version ^ OperatingSystemVersion { Version ^ get(); void set(Version ^ value); };
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.VersionConverter))]
public Version? OperatingSystemVersion { get; set; }
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.VersionConverter))]
public Version? OperatingSystemVersion { [System.Runtime.CompilerServices.IsReadOnly] get; set; }
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.VersionConverter))>]
member this.OperatingSystemVersion : Version with get, set
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.VersionConverter))>]
[<get: System.Runtime.CompilerServices.IsReadOnly>]
member this.OperatingSystemVersion : Version with get, set
Public Property OperatingSystemVersion As Version

Property Value

Attributes
Newtonsoft.Json.JsonConverterAttribute IsReadOnlyAttribute

Applies to