Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

144 lines
6.3 KiB
C#

using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System
{
/// <summary>Represents information about an operating system, such as the version and platform identifier. This class cannot be inherited.</summary>
// Token: 0x02000193 RID: 403
[Token(Token = "0x2000193")]
[ComVisible(true)]
[Serializable]
public sealed class OperatingSystem : ICloneable, ISerializable
{
/// <summary>Initializes a new instance of the <see cref="T:System.OperatingSystem" /> class, using the specified platform identifier value and version object.</summary>
/// <param name="platform">One of the <see cref="T:System.PlatformID" /> values that indicates the operating system platform.</param>
/// <param name="version">A <see cref="T:System.Version" /> object that indicates the version of the operating system.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="version" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="platform" /> is not a <see cref="T:System.PlatformID" /> enumeration value.</exception>
// Token: 0x06001022 RID: 4130 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001022")]
[Address(RVA = "0x2D78800", Offset = "0x2D77800", VA = "0x182D78800")]
public OperatingSystem(PlatformID platform, Version version)
{
}
// Token: 0x06001023 RID: 4131 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001023")]
[Address(RVA = "0x2D78910", Offset = "0x2D77910", VA = "0x182D78910")]
private OperatingSystem(SerializationInfo information, StreamingContext context)
{
}
/// <summary>Gets a <see cref="T:System.PlatformID" /> enumeration value that identifies the operating system platform.</summary>
/// <returns>One of the <see cref="T:System.PlatformID" /> values.</returns>
// Token: 0x17000185 RID: 389
// (get) Token: 0x06001024 RID: 4132 RVA: 0x0000CF78 File Offset: 0x0000B178
[Token(Token = "0x17000185")]
public PlatformID Platform
{
[Token(Token = "0x6001024")]
[Address(RVA = "0x40F000", Offset = "0x40E000", VA = "0x18040F000")]
get
{
return PlatformID.Win32S;
}
}
/// <summary>Gets a <see cref="T:System.Version" /> object that identifies the operating system.</summary>
/// <returns>A <see cref="T:System.Version" /> object that describes the major version, minor version, build, and revision numbers for the operating system.</returns>
// Token: 0x17000186 RID: 390
// (get) Token: 0x06001025 RID: 4133 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000186")]
public Version Version
{
[Token(Token = "0x6001025")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
get
{
return null;
}
}
/// <summary>Gets the service pack version represented by this <see cref="T:System.OperatingSystem" /> object.</summary>
/// <returns>The service pack version, if service packs are supported and at least one is installed; otherwise, an empty string ("").</returns>
// Token: 0x17000187 RID: 391
// (get) Token: 0x06001026 RID: 4134 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000187")]
public string ServicePack
{
[Token(Token = "0x6001026")]
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
get
{
return null;
}
}
/// <summary>Gets the concatenated string representation of the platform identifier, version, and service pack that are currently installed on the operating system.</summary>
/// <returns>The string representation of the values returned by the <see cref="P:System.OperatingSystem.Platform" />, <see cref="P:System.OperatingSystem.Version" />, and <see cref="P:System.OperatingSystem.ServicePack" /> properties.</returns>
// Token: 0x17000188 RID: 392
// (get) Token: 0x06001027 RID: 4135 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000188")]
public string VersionString
{
[Token(Token = "0x6001027")]
[Address(RVA = "0x7207B0", Offset = "0x71F7B0", VA = "0x1807207B0")]
get
{
return null;
}
}
/// <summary>Creates an <see cref="T:System.OperatingSystem" /> object that is identical to this instance.</summary>
/// <returns>An <see cref="T:System.OperatingSystem" /> object that is a copy of this instance.</returns>
// Token: 0x06001028 RID: 4136 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001028")]
[Address(RVA = "0x2D784D0", Offset = "0x2D774D0", VA = "0x182D784D0", Slot = "4")]
public object Clone()
{
return null;
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the data necessary to deserialize this instance.</summary>
/// <param name="info">The object to populate with serialization information.</param>
/// <param name="context">The place to store and retrieve serialized data. Reserved for future use.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="info" /> is <see langword="null" />.</exception>
// Token: 0x06001029 RID: 4137 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001029")]
[Address(RVA = "0x2D78610", Offset = "0x2D77610", VA = "0x182D78610", Slot = "5")]
public void GetObjectData(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Converts the value of this <see cref="T:System.OperatingSystem" /> object to its equivalent string representation.</summary>
/// <returns>The string representation of the values returned by the <see cref="P:System.OperatingSystem.Platform" />, <see cref="P:System.OperatingSystem.Version" />, and <see cref="P:System.OperatingSystem.ServicePack" /> properties.</returns>
// Token: 0x0600102A RID: 4138 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600102A")]
[Address(RVA = "0x2D786B0", Offset = "0x2D776B0", VA = "0x182D786B0", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x04000675 RID: 1653
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000675")]
private PlatformID _platform;
// Token: 0x04000676 RID: 1654
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000676")]
private Version _version;
// Token: 0x04000677 RID: 1655
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000677")]
private string _servicePack;
}
}