Table of Contents

Struct ServiceHostInformation

Namespace
Microsoft.ServiceHub.Framework
Assembly
Microsoft.ServiceHub.Framework.dll

Describes important attributes of a service host that are often required to assess compatibility with a service.

public struct ServiceHostInformation
Inherited Members

Properties

OperatingSystem

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

public ServiceHostOperatingSystem? OperatingSystem { readonly get; set; }

Property Value

ServiceHostOperatingSystem?

OperatingSystemVersion

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

[JsonConverter(typeof(VersionConverter))]
public Version? OperatingSystemVersion { readonly get; set; }

Property Value

Version

ProcessArchitecture

Gets or sets the architecture of the service host process.

public Architecture? ProcessArchitecture { readonly get; set; }

Property Value

Architecture?

Runtime

Gets or sets the runtime offered by the service host.

public ServiceHostRuntime? Runtime { readonly get; set; }

Property Value

ServiceHostRuntime?

RuntimeVersion

Gets or sets the version of the runtime, if applicable.

[JsonConverter(typeof(VersionConverter))]
public Version? RuntimeVersion { readonly get; set; }

Property Value

Version