DPB2Class · Utilities and settings

OSInfo

Provides os info data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Common

public static class OSInfo
Reference: DPB2 0.4.5.103Compare the DPB1 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

10 declared here

Bits

PropertyLink ↗
public static int OSInfo.Bits { get; }

Reads bits on OSInfo as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

BuildVersion

PropertyLink ↗
public static int OSInfo.BuildVersion { get; }

Reads build version on OSInfo as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Edition

PropertyLink ↗
public static string OSInfo.Edition { get; }

Reads edition on OSInfo as string. The exact type and accessors are shown below.

Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

MajorVersion

PropertyLink ↗
public static int OSInfo.MajorVersion { get; }

Reads major version on OSInfo as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

MinorVersion

PropertyLink ↗
public static int OSInfo.MinorVersion { get; }

Reads minor version on OSInfo as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Name

PropertyLink ↗
public static string OSInfo.Name { get; }

Reads name on OSInfo as string. The exact type and accessors are shown below.

Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

RevisionVersion

PropertyLink ↗
public static int OSInfo.RevisionVersion { get; }

Reads revision version on OSInfo as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

ServicePack

PropertyLink ↗
public static string OSInfo.ServicePack { get; }

Reads service pack on OSInfo as string. The exact type and accessors are shown below.

Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Version

PropertyLink ↗
public static Version OSInfo.Version { get; }

Reads version on OSInfo as Version. The exact type and accessors are shown below.

Value type: VersionNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

VersionString

PropertyLink ↗
public static string OSInfo.VersionString { get; }

Reads version string on OSInfo as string. The exact type and accessors are shown below.

Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

DPB2 0.4.5.103 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.