OperatingSystemSnapshot Class

Represents a snapshot of the operating system including platform, version, architecture, and platform-specific identifiers.

public sealed class OperatingSystemSnapshot

Properties

NameDescription
IsAndroid
IsBrowser
IsFreeBSD
IsIOS
IsLinux
IsMacCatalyst
IsTvOS
IsWasi
IsWatchOS
IsWindows
LinuxOsVersion
OSArchitecture
Platform
ServicePack
Version
WindowsUpdateBuildRevision
public bool IsAndroid { get; }

Property value

bool

No documentation is available.

public bool IsBrowser { get; }

Property value

bool

No documentation is available.

public bool IsFreeBSD { get; }

Property value

bool

No documentation is available.

public bool IsIOS { get; }

Property value

bool

No documentation is available.

public bool IsLinux { get; }

Property value

bool

No documentation is available.

public bool IsMacCatalyst { get; }

Property value

bool

No documentation is available.

public bool IsTvOS { get; }

Property value

bool

No documentation is available.

public bool IsWasi { get; }

Property value

bool

No documentation is available.

public bool IsWatchOS { get; }

Property value

bool

No documentation is available.

public bool IsWindows { get; }

Property value

bool

No documentation is available.

public string? LinuxOsVersion { get; }

Property value

string?

No documentation is available.

public Architecture OSArchitecture { get; }

Property value

Architecture

No documentation is available.

public PlatformID Platform { get; }

Property value

PlatformID

No documentation is available.

public string? ServicePack { get; }

Property value

string?

No documentation is available.

public Version? Version { get; }

Property value

Version?

No documentation is available.

WindowsUpdateBuildRevision

OperatingSystemSnapshot.cs
public int? WindowsUpdateBuildRevision { get; }

Property value

int?

No documentation is available.