Table of Contents

Class VersionResponse

Namespace
Quilt4Net.Toolkit.Features.Health
Assembly
Quilt4Net.Toolkit.dll

Response for Version.

public record VersionResponse : IEquatable<VersionResponse>
Inheritance
VersionResponse
Implements
Inherited Members

Properties

Environment

Environment for the application.

public required string Environment { get; init; }

Property Value

string

Examples

Production

InformationalVersion

Informational / SemVer version sourced from AssemblyInformationalVersionAttribute, including any pre-release tag. SourceLink build metadata (anything after +) is stripped. Null when the attribute is absent on the entry assembly.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string InformationalVersion { get; init; }

Property Value

string

Examples

1.0.0-pre.1

IpAddress

Public IP-address for the application.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string IpAddress { get; init; }

Property Value

string

Examples

127.0.0.1

Is64BitProcess

The process runs with 64 bit.

public required bool Is64BitProcess { get; init; }

Property Value

bool

Machine

Name of the machine where the application is running.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string Machine { get; init; }

Property Value

string

Examples

Jupiter

Version

Numeric four-part assembly version (Version). Pre-release SemVer tags are stripped here — use InformationalVersion when the build's -pre.n / SemVer identity matters (e.g. post-deploy verification).

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string Version { get; init; }

Property Value

string

Examples

1.0.0.0