a
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
// Token: 0x02000069 RID: 105
|
||||
[Token(Token = "0x2000069")]
|
||||
internal class ExpandString
|
||||
{
|
||||
// Token: 0x060002B0 RID: 688 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002B0")]
|
||||
[Address(RVA = "0x3FFB80", Offset = "0x3FE980", VA = "0x1803FFB80")]
|
||||
public ExpandString(string s)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002B1 RID: 689 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002B1")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002B2 RID: 690 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002B2")]
|
||||
[Address(RVA = "0x2AA8A10", Offset = "0x2AA7810", VA = "0x182AA8A10")]
|
||||
public string Expand()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x040001A3 RID: 419
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40001A3")]
|
||||
private string value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
// Token: 0x02000063 RID: 99
|
||||
[Token(Token = "0x2000063")]
|
||||
internal interface IRegistryApi
|
||||
{
|
||||
// Token: 0x0600028A RID: 650
|
||||
[Token(Token = "0x600028A")]
|
||||
[Address(Slot = "0")]
|
||||
RegistryKey CreateSubKey(RegistryKey rkey, string keyname);
|
||||
|
||||
// Token: 0x0600028B RID: 651
|
||||
[Token(Token = "0x600028B")]
|
||||
[Address(Slot = "1")]
|
||||
RegistryKey OpenSubKey(RegistryKey rkey, string keyname, bool writtable);
|
||||
|
||||
// Token: 0x0600028C RID: 652
|
||||
[Token(Token = "0x600028C")]
|
||||
[Address(Slot = "2")]
|
||||
void Flush(RegistryKey rkey);
|
||||
|
||||
// Token: 0x0600028D RID: 653
|
||||
[Token(Token = "0x600028D")]
|
||||
[Address(Slot = "3")]
|
||||
void Close(RegistryKey rkey);
|
||||
|
||||
// Token: 0x0600028E RID: 654
|
||||
[Token(Token = "0x600028E")]
|
||||
[Address(Slot = "4")]
|
||||
object GetValue(RegistryKey rkey, string name, object default_value, RegistryValueOptions options);
|
||||
|
||||
// Token: 0x0600028F RID: 655
|
||||
[Token(Token = "0x600028F")]
|
||||
[Address(Slot = "5")]
|
||||
void SetValue(RegistryKey rkey, string name, object value);
|
||||
|
||||
// Token: 0x06000290 RID: 656
|
||||
[Token(Token = "0x6000290")]
|
||||
[Address(Slot = "6")]
|
||||
string[] GetSubKeyNames(RegistryKey rkey);
|
||||
|
||||
// Token: 0x06000291 RID: 657
|
||||
[Token(Token = "0x6000291")]
|
||||
[Address(Slot = "7")]
|
||||
string ToString(RegistryKey rkey);
|
||||
|
||||
// Token: 0x06000292 RID: 658
|
||||
[Token(Token = "0x6000292")]
|
||||
[Address(Slot = "8")]
|
||||
IntPtr GetHandle(RegistryKey key);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,291 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Security;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
// Token: 0x0200006B RID: 107
|
||||
[Token(Token = "0x200006B")]
|
||||
internal class KeyHandler
|
||||
{
|
||||
// Token: 0x060002B7 RID: 695 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002B7")]
|
||||
[Address(RVA = "0x2AAE8B0", Offset = "0x2AAD6B0", VA = "0x182AAE8B0")]
|
||||
private KeyHandler(RegistryKey rkey, string basedir)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002B8 RID: 696 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002B8")]
|
||||
[Address(RVA = "0x2AAE740", Offset = "0x2AAD540", VA = "0x182AAE740")]
|
||||
private KeyHandler(RegistryKey rkey, string basedir, bool is_volatile)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002B9 RID: 697 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002B9")]
|
||||
[Address(RVA = "0x2AACAC0", Offset = "0x2AAB8C0", VA = "0x182AACAC0")]
|
||||
public void Load()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002BA RID: 698 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002BA")]
|
||||
[Address(RVA = "0x2AAC650", Offset = "0x2AAB450", VA = "0x182AAC650")]
|
||||
private void LoadKey(SecurityElement se)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002BB RID: 699 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002BB")]
|
||||
[Address(RVA = "0x2AAB500", Offset = "0x2AAA300", VA = "0x182AAB500")]
|
||||
public RegistryKey Ensure(RegistryKey rkey, string extra, bool writable, bool is_volatile)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002BC RID: 700 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002BC")]
|
||||
[Address(RVA = "0x2AAD3D0", Offset = "0x2AAC1D0", VA = "0x182AAD3D0")]
|
||||
public RegistryKey Probe(RegistryKey rkey, string extra, bool writable)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002BD RID: 701 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002BD")]
|
||||
[Address(RVA = "0x2AAB040", Offset = "0x2AA9E40", VA = "0x182AAB040")]
|
||||
private static string CombineName(RegistryKey rkey, string extra)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002BE RID: 702 RVA: 0x00003258 File Offset: 0x00001458
|
||||
[Token(Token = "0x60002BE")]
|
||||
[Address(RVA = "0x2AAC0F0", Offset = "0x2AAAEF0", VA = "0x182AAC0F0")]
|
||||
private static long GetSystemBootTime()
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
// Token: 0x060002BF RID: 703 RVA: 0x00003270 File Offset: 0x00001470
|
||||
[Token(Token = "0x60002BF")]
|
||||
[Address(RVA = "0x2AAB930", Offset = "0x2AAA730", VA = "0x182AAB930")]
|
||||
private static long GetRegisteredBootTime(string path)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
// Token: 0x060002C0 RID: 704 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002C0")]
|
||||
[Address(RVA = "0x2AAD770", Offset = "0x2AAC570", VA = "0x182AAD770")]
|
||||
private static void SaveRegisteredBootTime(string path, long btime)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002C1 RID: 705 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002C1")]
|
||||
[Address(RVA = "0x2AAADE0", Offset = "0x2AA9BE0", VA = "0x182AAADE0")]
|
||||
private static void CleanVolatileKeys()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002C2 RID: 706 RVA: 0x00003288 File Offset: 0x00001488
|
||||
[Token(Token = "0x60002C2")]
|
||||
[Address(RVA = "0x2AAE400", Offset = "0x2AAD200", VA = "0x182AAE400")]
|
||||
public static bool VolatileKeyExists(string dir)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060002C3 RID: 707 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002C3")]
|
||||
[Address(RVA = "0x2AAC480", Offset = "0x2AAB280", VA = "0x182AAC480")]
|
||||
public static string GetVolatileDir(string dir)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002C4 RID: 708 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002C4")]
|
||||
[Address(RVA = "0x2AACEB0", Offset = "0x2AABCB0", VA = "0x182AACEB0")]
|
||||
public static KeyHandler Lookup(RegistryKey rkey, bool createNonExisting)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002C5 RID: 709 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002C5")]
|
||||
[Address(RVA = "0x2AABAE0", Offset = "0x2AAA8E0", VA = "0x182AABAE0")]
|
||||
private static string GetRootFromDir(string dir)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002C6 RID: 710 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002C6")]
|
||||
[Address(RVA = "0x2AAB0E0", Offset = "0x2AA9EE0", VA = "0x182AAB0E0")]
|
||||
public static void Drop(RegistryKey rkey)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002C7 RID: 711 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002C7")]
|
||||
[Address(RVA = "0x2AAC2E0", Offset = "0x2AAB0E0", VA = "0x182AAC2E0")]
|
||||
public object GetValue(string name, RegistryValueOptions options)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002C8 RID: 712 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002C8")]
|
||||
[Address(RVA = "0x2AAE0E0", Offset = "0x2AACEE0", VA = "0x182AAE0E0")]
|
||||
public void SetValue(string name, object value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002C9 RID: 713 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002C9")]
|
||||
[Address(RVA = "0x2AABC20", Offset = "0x2AAAA20", VA = "0x182AABC20")]
|
||||
public string[] GetSubKeyNames()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002CA RID: 714 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002CA")]
|
||||
[Address(RVA = "0x2AADFA0", Offset = "0x2AACDA0", VA = "0x182AADFA0")]
|
||||
private void SetDirty()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002CB RID: 715 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002CB")]
|
||||
[Address(RVA = "0x2AAB0D0", Offset = "0x2AA9ED0", VA = "0x182AAB0D0")]
|
||||
public void DirtyTimeout(object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002CC RID: 716 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002CC")]
|
||||
[Address(RVA = "0x2AAB840", Offset = "0x2AAA640", VA = "0x182AAB840")]
|
||||
public void Flush()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002CD RID: 717 RVA: 0x000032A0 File Offset: 0x000014A0
|
||||
[Token(Token = "0x60002CD")]
|
||||
[Address(RVA = "0x2AAE300", Offset = "0x2AAD100", VA = "0x182AAE300")]
|
||||
public bool ValueExists(string name)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x17000064 RID: 100
|
||||
// (get) Token: 0x060002CE RID: 718 RVA: 0x000032B8 File Offset: 0x000014B8
|
||||
[Token(Token = "0x17000064")]
|
||||
public bool IsMarkedForDeletion
|
||||
{
|
||||
[Token(Token = "0x60002CE")]
|
||||
[Address(RVA = "0x2AAE8D0", Offset = "0x2AAD6D0", VA = "0x182AAE8D0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060002CF RID: 719 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002CF")]
|
||||
[Address(RVA = "0x2AAB7D0", Offset = "0x2AAA5D0", VA = "0x182AAB7D0", Slot = "1")]
|
||||
protected override void Finalize()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002D0 RID: 720 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002D0")]
|
||||
[Address(RVA = "0x2AAD870", Offset = "0x2AAC670", VA = "0x182AAD870")]
|
||||
private void Save()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002D1 RID: 721 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002D1")]
|
||||
[Address(RVA = "0x2AAAD80", Offset = "0x2AA9B80", VA = "0x182AAAD80")]
|
||||
private void AssertNotMarkedForDeletion()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000065 RID: 101
|
||||
// (get) Token: 0x060002D2 RID: 722 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000065")]
|
||||
private static string UserStore
|
||||
{
|
||||
[Token(Token = "0x60002D2")]
|
||||
[Address(RVA = "0x2AAEB10", Offset = "0x2AAD910", VA = "0x182AAEB10")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000066 RID: 102
|
||||
// (get) Token: 0x060002D3 RID: 723 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000066")]
|
||||
private static string MachineStore
|
||||
{
|
||||
[Token(Token = "0x60002D3")]
|
||||
[Address(RVA = "0x2AAE960", Offset = "0x2AAD760", VA = "0x182AAE960")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x040001A4 RID: 420
|
||||
[Token(Token = "0x40001A4")]
|
||||
private static Hashtable key_to_handler;
|
||||
|
||||
// Token: 0x040001A5 RID: 421
|
||||
[Token(Token = "0x40001A5")]
|
||||
private static Hashtable dir_to_handler;
|
||||
|
||||
// Token: 0x040001A6 RID: 422
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40001A6")]
|
||||
public string Dir;
|
||||
|
||||
// Token: 0x040001A7 RID: 423
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40001A7")]
|
||||
private string ActualDir;
|
||||
|
||||
// Token: 0x040001A8 RID: 424
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40001A8")]
|
||||
public bool IsVolatile;
|
||||
|
||||
// Token: 0x040001A9 RID: 425
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40001A9")]
|
||||
private Hashtable values;
|
||||
|
||||
// Token: 0x040001AA RID: 426
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40001AA")]
|
||||
private string file;
|
||||
|
||||
// Token: 0x040001AB RID: 427
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40001AB")]
|
||||
private bool dirty;
|
||||
|
||||
// Token: 0x040001AC RID: 428
|
||||
[Token(Token = "0x40001AC")]
|
||||
private static string user_store;
|
||||
|
||||
// Token: 0x040001AD RID: 429
|
||||
[Token(Token = "0x40001AD")]
|
||||
private static string machine_store;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
/// <summary>Provides <see cref="T:Microsoft.Win32.RegistryKey" /> objects that represent the root keys in the Windows registry, and <see langword="static" /> methods to access key/value pairs.</summary>
|
||||
// Token: 0x02000064 RID: 100
|
||||
[Token(Token = "0x2000064")]
|
||||
[ComVisible(true)]
|
||||
public static class Registry
|
||||
{
|
||||
/// <summary>Defines the types (or classes) of documents and the properties associated with those types. This field reads the Windows registry base key HKEY_CLASSES_ROOT.</summary>
|
||||
// Token: 0x04000181 RID: 385
|
||||
[Token(Token = "0x4000181")]
|
||||
public static readonly RegistryKey ClassesRoot;
|
||||
|
||||
/// <summary>Contains configuration information pertaining to the hardware that is not specific to the user. This field reads the Windows registry base key HKEY_CURRENT_CONFIG.</summary>
|
||||
// Token: 0x04000182 RID: 386
|
||||
[Token(Token = "0x4000182")]
|
||||
public static readonly RegistryKey CurrentConfig;
|
||||
|
||||
/// <summary>Contains information about the current user preferences. This field reads the Windows registry base key HKEY_CURRENT_USER.</summary>
|
||||
// Token: 0x04000183 RID: 387
|
||||
[Token(Token = "0x4000183")]
|
||||
public static readonly RegistryKey CurrentUser;
|
||||
|
||||
/// <summary>Contains dynamic registry data. This field reads the Windows registry base key HKEY_DYN_DATA.</summary>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The operating system does not support dynamic data; that is, it is not Windows 98, Windows 98 Second Edition, or Windows Millennium Edition (Windows Me).</exception>
|
||||
// Token: 0x04000184 RID: 388
|
||||
[Token(Token = "0x4000184")]
|
||||
[Obsolete]
|
||||
public static readonly RegistryKey DynData;
|
||||
|
||||
/// <summary>Contains the configuration data for the local machine. This field reads the Windows registry base key HKEY_LOCAL_MACHINE.</summary>
|
||||
// Token: 0x04000185 RID: 389
|
||||
[Token(Token = "0x4000185")]
|
||||
public static readonly RegistryKey LocalMachine;
|
||||
|
||||
/// <summary>Contains performance information for software components. This field reads the Windows registry base key HKEY_PERFORMANCE_DATA.</summary>
|
||||
// Token: 0x04000186 RID: 390
|
||||
[Token(Token = "0x4000186")]
|
||||
public static readonly RegistryKey PerformanceData;
|
||||
|
||||
/// <summary>Contains information about the default user configuration. This field reads the Windows registry base key HKEY_USERS.</summary>
|
||||
// Token: 0x04000187 RID: 391
|
||||
[Token(Token = "0x4000187")]
|
||||
public static readonly RegistryKey Users;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
/// <summary>Represents the possible values for a top-level node on a foreign machine.</summary>
|
||||
// Token: 0x02000065 RID: 101
|
||||
[Token(Token = "0x2000065")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public enum RegistryHive
|
||||
{
|
||||
/// <summary>Represents the HKEY_CLASSES_ROOT base key on another computer. This value can be passed to the <see cref="M:Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive,System.String)" /> method, to open this node remotely.</summary>
|
||||
// Token: 0x04000189 RID: 393
|
||||
[Token(Token = "0x4000189")]
|
||||
ClassesRoot = -2147483648,
|
||||
/// <summary>Represents the HKEY_CURRENT_CONFIG base key on another computer. This value can be passed to the <see cref="M:Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive,System.String)" /> method, to open this node remotely.</summary>
|
||||
// Token: 0x0400018A RID: 394
|
||||
[Token(Token = "0x400018A")]
|
||||
CurrentConfig = -2147483643,
|
||||
/// <summary>Represents the HKEY_CURRENT_USER base key on another computer. This value can be passed to the <see cref="M:Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive,System.String)" /> method, to open this node remotely.</summary>
|
||||
// Token: 0x0400018B RID: 395
|
||||
[Token(Token = "0x400018B")]
|
||||
CurrentUser = -2147483647,
|
||||
/// <summary>Represents the HKEY_DYN_DATA base key on another computer. This value can be passed to the <see cref="M:Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive,System.String)" /> method, to open this node remotely.</summary>
|
||||
// Token: 0x0400018C RID: 396
|
||||
[Token(Token = "0x400018C")]
|
||||
DynData = -2147483642,
|
||||
/// <summary>Represents the HKEY_LOCAL_MACHINE base key on another computer. This value can be passed to the <see cref="M:Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive,System.String)" /> method, to open this node remotely.</summary>
|
||||
// Token: 0x0400018D RID: 397
|
||||
[Token(Token = "0x400018D")]
|
||||
LocalMachine = -2147483646,
|
||||
/// <summary>Represents the HKEY_PERFORMANCE_DATA base key on another computer. This value can be passed to the <see cref="M:Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive,System.String)" /> method, to open this node remotely.</summary>
|
||||
// Token: 0x0400018E RID: 398
|
||||
[Token(Token = "0x400018E")]
|
||||
PerformanceData = -2147483644,
|
||||
/// <summary>Represents the HKEY_USERS base key on another computer. This value can be passed to the <see cref="M:Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive,System.String)" /> method, to open this node remotely.</summary>
|
||||
// Token: 0x0400018F RID: 399
|
||||
[Token(Token = "0x400018F")]
|
||||
Users = -2147483645
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,363 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
/// <summary>Represents a key-level node in the Windows registry. This class is a registry encapsulation.</summary>
|
||||
// Token: 0x02000066 RID: 102
|
||||
[Token(Token = "0x2000066")]
|
||||
[ComVisible(true)]
|
||||
public sealed class RegistryKey : MarshalByRefObject, IDisposable
|
||||
{
|
||||
// Token: 0x06000295 RID: 661 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000295")]
|
||||
[Address(RVA = "0x2AB4860", Offset = "0x2AB3660", VA = "0x182AB4860")]
|
||||
internal RegistryKey(RegistryHive hiveId)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000296 RID: 662 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000296")]
|
||||
[Address(RVA = "0x2AB46A0", Offset = "0x2AB34A0", VA = "0x182AB46A0")]
|
||||
internal RegistryKey(RegistryHive hiveId, IntPtr keyHandle, bool remoteRoot)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000297 RID: 663 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000297")]
|
||||
[Address(RVA = "0x2AB4650", Offset = "0x2AB3450", VA = "0x182AB4650")]
|
||||
internal RegistryKey(object data, string keyName, bool writable)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000298 RID: 664 RVA: 0x000031C8 File Offset: 0x000013C8
|
||||
[Token(Token = "0x6000298")]
|
||||
[Address(RVA = "0x2AB3E30", Offset = "0x2AB2C30", VA = "0x182AB3E30")]
|
||||
internal static bool IsEquals(RegistryKey a, RegistryKey b)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the current instance of the <see cref="T:Microsoft.Win32.RegistryKey" /> class.</summary>
|
||||
// Token: 0x06000299 RID: 665 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000299")]
|
||||
[Address(RVA = "0x2AB36F0", Offset = "0x2AB24F0", VA = "0x182AB36F0", Slot = "6")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Retrieves the name of the key.</summary>
|
||||
/// <returns>The absolute (qualified) name of the key.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> is closed (closed keys cannot be accessed).</exception>
|
||||
// Token: 0x1700005E RID: 94
|
||||
// (get) Token: 0x0600029A RID: 666 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700005E")]
|
||||
public string Name
|
||||
{
|
||||
[Token(Token = "0x600029A")]
|
||||
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Writes all the attributes of the specified open registry key into the registry.</summary>
|
||||
// Token: 0x0600029B RID: 667 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600029B")]
|
||||
[Address(RVA = "0x2AB3830", Offset = "0x2AB2630", VA = "0x182AB3830")]
|
||||
public void Flush()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Closes the key and flushes it to disk if its contents have been modified.</summary>
|
||||
// Token: 0x0600029C RID: 668 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600029C")]
|
||||
[Address(RVA = "0x2AB32B0", Offset = "0x2AB20B0", VA = "0x182AB32B0")]
|
||||
public void Close()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a <see cref="T:Microsoft.Win32.SafeHandles.SafeRegistryHandle" /> object that represents the registry key that the current <see cref="T:Microsoft.Win32.RegistryKey" /> object encapsulates.</summary>
|
||||
/// <returns>The handle to the registry key.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The registry key is closed. Closed keys cannot be accessed.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">A system error occurred, such as deletion of the current key.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to read the key.</exception>
|
||||
// Token: 0x1700005F RID: 95
|
||||
// (get) Token: 0x0600029D RID: 669 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700005F")]
|
||||
[MonoTODO]
|
||||
[MonoTODO("Not implemented in Unix")]
|
||||
[ComVisible(false)]
|
||||
public SafeRegistryHandle Handle
|
||||
{
|
||||
[Token(Token = "0x600029D")]
|
||||
[Address(RVA = "0x2AB4A30", Offset = "0x2AB3830", VA = "0x182AB4A30")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Sets the specified name/value pair.</summary>
|
||||
/// <param name="name">The name of the value to store.</param>
|
||||
/// <param name="value">The data to be stored.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="value" /> is an unsupported data type.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> that contains the specified value is closed (closed keys cannot be accessed).</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The <see cref="T:Microsoft.Win32.RegistryKey" /> is read-only, and cannot be written to; for example, the key has not been opened with write access.
|
||||
/// -or-
|
||||
/// The <see cref="T:Microsoft.Win32.RegistryKey" /> object represents a root-level node, and the operating system is Windows Millennium Edition or Windows 98.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to create or modify registry keys.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The <see cref="T:Microsoft.Win32.RegistryKey" /> object represents a root-level node, and the operating system is Windows 2000, Windows XP, or Windows Server 2003.</exception>
|
||||
// Token: 0x0600029E RID: 670 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600029E")]
|
||||
[Address(RVA = "0x2AB4200", Offset = "0x2AB3000", VA = "0x182AB4200")]
|
||||
public void SetValue(string name, object value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Retrieves a subkey as read-only.</summary>
|
||||
/// <param name="name">The name or path of the subkey to open as read-only.</param>
|
||||
/// <returns>The subkey requested, or <see langword="null" /> if the operation failed.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="name" /> is <see langword="null" /></exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> is closed (closed keys cannot be accessed).</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to read the registry key.</exception>
|
||||
// Token: 0x0600029F RID: 671 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600029F")]
|
||||
[Address(RVA = "0x2AB3EB0", Offset = "0x2AB2CB0", VA = "0x182AB3EB0")]
|
||||
public RegistryKey OpenSubKey(string name)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Retrieves a specified subkey, and specifies whether write access is to be applied to the key.</summary>
|
||||
/// <param name="name">Name or path of the subkey to open.</param>
|
||||
/// <param name="writable">Set to <see langword="true" /> if you need write access to the key.</param>
|
||||
/// <returns>The subkey requested, or <see langword="null" /> if the operation failed.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="name" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> is closed (closed keys cannot be accessed).</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to access the registry key in the specified mode.</exception>
|
||||
// Token: 0x060002A0 RID: 672 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002A0")]
|
||||
[Address(RVA = "0x2AB4050", Offset = "0x2AB2E50", VA = "0x182AB4050")]
|
||||
public RegistryKey OpenSubKey(string name, bool writable)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Retrieves the value associated with the specified name. Returns <see langword="null" /> if the name/value pair does not exist in the registry.</summary>
|
||||
/// <param name="name">The name of the value to retrieve. This string is not case-sensitive.</param>
|
||||
/// <returns>The value associated with <paramref name="name" />, or <see langword="null" /> if <paramref name="name" /> is not found.</returns>
|
||||
/// <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to read from the registry key.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> that contains the specified value is closed (closed keys cannot be accessed).</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The <see cref="T:Microsoft.Win32.RegistryKey" /> that contains the specified value has been marked for deletion.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
|
||||
// Token: 0x060002A1 RID: 673 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002A1")]
|
||||
[Address(RVA = "0x2AB3CC0", Offset = "0x2AB2AC0", VA = "0x182AB3CC0")]
|
||||
public object GetValue(string name)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Retrieves the value associated with the specified name. If the name is not found, returns the default value that you provide.</summary>
|
||||
/// <param name="name">The name of the value to retrieve. This string is not case-sensitive.</param>
|
||||
/// <param name="defaultValue">The value to return if <paramref name="name" /> does not exist.</param>
|
||||
/// <returns>The value associated with <paramref name="name" />, with any embedded environment variables left unexpanded, or <paramref name="defaultValue" /> if <paramref name="name" /> is not found.</returns>
|
||||
/// <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to read from the registry key.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> that contains the specified value is closed (closed keys cannot be accessed).</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The <see cref="T:Microsoft.Win32.RegistryKey" /> that contains the specified value has been marked for deletion.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
|
||||
// Token: 0x060002A2 RID: 674 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002A2")]
|
||||
[Address(RVA = "0x2AB3B40", Offset = "0x2AB2940", VA = "0x182AB3B40")]
|
||||
public object GetValue(string name, object defaultValue)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a new subkey or opens an existing subkey for write access.</summary>
|
||||
/// <param name="subkey">The name or path of the subkey to create or open. This string is not case-sensitive.</param>
|
||||
/// <returns>The newly created subkey, or <see langword="null" /> if the operation failed. If a zero-length string is specified for <paramref name="subkey" />, the current <see cref="T:Microsoft.Win32.RegistryKey" /> object is returned.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="subkey" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to create or open the registry key.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> on which this method is being invoked is closed (closed keys cannot be accessed).</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The <see cref="T:Microsoft.Win32.RegistryKey" /> cannot be written to; for example, it was not opened as a writable key , or the user does not have the necessary access rights.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The nesting level exceeds 510.
|
||||
/// -or-
|
||||
/// A system error occurred, such as deletion of the key, or an attempt to create a key in the <see cref="F:Microsoft.Win32.Registry.LocalMachine" /> root.</exception>
|
||||
// Token: 0x060002A3 RID: 675 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002A3")]
|
||||
[Address(RVA = "0x2AB3410", Offset = "0x2AB2210", VA = "0x182AB3410")]
|
||||
public RegistryKey CreateSubKey(string subkey)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Retrieves an array of strings that contains all the subkey names.</summary>
|
||||
/// <returns>An array of strings that contains the names of the subkeys for the current key.</returns>
|
||||
/// <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to read from the key.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being manipulated is closed (closed keys cannot be accessed).</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">A system error occurred, for example the current key has been deleted.</exception>
|
||||
// Token: 0x060002A4 RID: 676 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002A4")]
|
||||
[Address(RVA = "0x2AB3A00", Offset = "0x2AB2800", VA = "0x182AB3A00")]
|
||||
public string[] GetSubKeyNames()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Retrieves a string representation of this key.</summary>
|
||||
/// <returns>A string representing the key. If the specified key is invalid (cannot be found) then <see langword="null" /> is returned.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being accessed is closed (closed keys cannot be accessed).</exception>
|
||||
// Token: 0x060002A5 RID: 677 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002A5")]
|
||||
[Address(RVA = "0x2AB43F0", Offset = "0x2AB31F0", VA = "0x182AB43F0", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x17000060 RID: 96
|
||||
// (get) Token: 0x060002A6 RID: 678 RVA: 0x000031E0 File Offset: 0x000013E0
|
||||
[Token(Token = "0x17000060")]
|
||||
internal bool IsRoot
|
||||
{
|
||||
[Token(Token = "0x60002A6")]
|
||||
[Address(RVA = "0x58C2E0", Offset = "0x58B0E0", VA = "0x18058C2E0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000061 RID: 97
|
||||
// (get) Token: 0x060002A7 RID: 679 RVA: 0x000031F8 File Offset: 0x000013F8
|
||||
[Token(Token = "0x17000061")]
|
||||
private bool IsWritable
|
||||
{
|
||||
[Token(Token = "0x60002A7")]
|
||||
[Address(RVA = "0x43AAA0", Offset = "0x4398A0", VA = "0x18043AAA0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000062 RID: 98
|
||||
// (get) Token: 0x060002A8 RID: 680 RVA: 0x00003210 File Offset: 0x00001410
|
||||
[Token(Token = "0x17000062")]
|
||||
internal RegistryHive Hive
|
||||
{
|
||||
[Token(Token = "0x60002A8")]
|
||||
[Address(RVA = "0x2AB4BD0", Offset = "0x2AB39D0", VA = "0x182AB4BD0")]
|
||||
get
|
||||
{
|
||||
return (RegistryHive)0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000063 RID: 99
|
||||
// (get) Token: 0x060002A9 RID: 681 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000063")]
|
||||
internal object InternalHandle
|
||||
{
|
||||
[Token(Token = "0x60002A9")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060002AA RID: 682 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002AA")]
|
||||
[Address(RVA = "0x2AB3240", Offset = "0x2AB2040", VA = "0x182AB3240")]
|
||||
private void AssertKeyStillValid()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002AB RID: 683 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002AB")]
|
||||
[Address(RVA = "0x2AB31E0", Offset = "0x2AB1FE0", VA = "0x182AB31E0")]
|
||||
private void AssertKeyNameNotNull(string subKeyName)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002AC RID: 684 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002AC")]
|
||||
[Address(RVA = "0x2AB3170", Offset = "0x2AB1F70", VA = "0x182AB3170")]
|
||||
private void AssertKeyNameLength(string name)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002AD RID: 685 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002AD")]
|
||||
[Address(RVA = "0x2AB3650", Offset = "0x2AB2450", VA = "0x182AB3650")]
|
||||
internal static string DecodeString(byte[] data)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002AE RID: 686 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002AE")]
|
||||
[Address(RVA = "0x2AB33B0", Offset = "0x2AB21B0", VA = "0x182AB33B0")]
|
||||
internal static IOException CreateMarkedForDeletionException()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002AF RID: 687 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002AF")]
|
||||
[Address(RVA = "0x2AB38B0", Offset = "0x2AB26B0", VA = "0x182AB38B0")]
|
||||
private static string GetHiveName(RegistryHive hive)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04000190 RID: 400
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000190")]
|
||||
private object handle;
|
||||
|
||||
// Token: 0x04000191 RID: 401
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000191")]
|
||||
private SafeRegistryHandle safe_handle;
|
||||
|
||||
// Token: 0x04000192 RID: 402
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000192")]
|
||||
private object hive;
|
||||
|
||||
// Token: 0x04000193 RID: 403
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4000193")]
|
||||
private readonly string qname;
|
||||
|
||||
// Token: 0x04000194 RID: 404
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4000194")]
|
||||
private readonly bool isRemoteRoot;
|
||||
|
||||
// Token: 0x04000195 RID: 405
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x39")]
|
||||
[Token(Token = "0x4000195")]
|
||||
private readonly bool isWritable;
|
||||
|
||||
// Token: 0x04000196 RID: 406
|
||||
[Token(Token = "0x4000196")]
|
||||
private static readonly IRegistryApi RegistryApi;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
// Token: 0x0200006A RID: 106
|
||||
[Token(Token = "0x200006A")]
|
||||
internal class RegistryKeyComparer : IEqualityComparer
|
||||
{
|
||||
// Token: 0x060002B3 RID: 691 RVA: 0x00003228 File Offset: 0x00001428
|
||||
[Token(Token = "0x60002B3")]
|
||||
[Address(RVA = "0x2AB2FF0", Offset = "0x2AB1DF0", VA = "0x182AB2FF0", Slot = "4")]
|
||||
public bool Equals(object x, object y)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060002B4 RID: 692 RVA: 0x00003240 File Offset: 0x00001440
|
||||
[Token(Token = "0x60002B4")]
|
||||
[Address(RVA = "0x2AB30F0", Offset = "0x2AB1EF0", VA = "0x182AB30F0", Slot = "5")]
|
||||
public int GetHashCode(object obj)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060002B5 RID: 693 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002B5")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public RegistryKeyComparer()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
/// <summary>Specifies the data types to use when storing values in the registry, or identifies the data type of a value in the registry.</summary>
|
||||
// Token: 0x02000067 RID: 103
|
||||
[Token(Token = "0x2000067")]
|
||||
[ComVisible(true)]
|
||||
public enum RegistryValueKind
|
||||
{
|
||||
/// <summary>An unsupported registry data type. For example, the Microsoft Win32 API registry data type REG_RESOURCE_LIST is unsupported. Use this value to specify that the <see cref="M:Microsoft.Win32.RegistryKey.SetValue(System.String,System.Object)" /> method should determine the appropriate registry data type when storing a name/value pair.</summary>
|
||||
// Token: 0x04000198 RID: 408
|
||||
[Token(Token = "0x4000198")]
|
||||
Unknown,
|
||||
/// <summary>A null-terminated string. This value is equivalent to the Win32 API registry data type REG_SZ.</summary>
|
||||
// Token: 0x04000199 RID: 409
|
||||
[Token(Token = "0x4000199")]
|
||||
String,
|
||||
/// <summary>A null-terminated string that contains unexpanded references to environment variables, such as %PATH%, that are expanded when the value is retrieved. This value is equivalent to the Win32 API registry data type REG_EXPAND_SZ.</summary>
|
||||
// Token: 0x0400019A RID: 410
|
||||
[Token(Token = "0x400019A")]
|
||||
ExpandString,
|
||||
/// <summary>Binary data in any form. This value is equivalent to the Win32 API registry data type REG_BINARY.</summary>
|
||||
// Token: 0x0400019B RID: 411
|
||||
[Token(Token = "0x400019B")]
|
||||
Binary,
|
||||
/// <summary>A 32-bit binary number. This value is equivalent to the Win32 API registry data type REG_DWORD.</summary>
|
||||
// Token: 0x0400019C RID: 412
|
||||
[Token(Token = "0x400019C")]
|
||||
DWord,
|
||||
/// <summary>An array of null-terminated strings, terminated by two null characters. This value is equivalent to the Win32 API registry data type REG_MULTI_SZ.</summary>
|
||||
// Token: 0x0400019D RID: 413
|
||||
[Token(Token = "0x400019D")]
|
||||
MultiString = 7,
|
||||
/// <summary>A 64-bit binary number. This value is equivalent to the Win32 API registry data type REG_QWORD.</summary>
|
||||
// Token: 0x0400019E RID: 414
|
||||
[Token(Token = "0x400019E")]
|
||||
QWord = 11,
|
||||
/// <summary>No data type.</summary>
|
||||
// Token: 0x0400019F RID: 415
|
||||
[Token(Token = "0x400019F")]
|
||||
None = -1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
/// <summary>Specifies optional behavior when retrieving name/value pairs from a registry key.</summary>
|
||||
// Token: 0x02000068 RID: 104
|
||||
[Token(Token = "0x2000068")]
|
||||
[Flags]
|
||||
public enum RegistryValueOptions
|
||||
{
|
||||
/// <summary>No optional behavior is specified.</summary>
|
||||
// Token: 0x040001A1 RID: 417
|
||||
[Token(Token = "0x40001A1")]
|
||||
None = 0,
|
||||
/// <summary>A value of type <see cref="F:Microsoft.Win32.RegistryValueKind.ExpandString" /> is retrieved without expanding its embedded environment variables.</summary>
|
||||
// Token: 0x040001A2 RID: 418
|
||||
[Token(Token = "0x40001A2")]
|
||||
DoNotExpandEnvironmentNames = 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32.SafeHandles
|
||||
{
|
||||
/// <summary>Represents a wrapper class for a file handle.</summary>
|
||||
// Token: 0x02000070 RID: 112
|
||||
[Token(Token = "0x2000070")]
|
||||
public sealed class SafeFileHandle : SafeHandleZeroOrMinusOneIsInvalid
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:Microsoft.Win32.SafeHandles.SafeFileHandle" /> class.</summary>
|
||||
/// <param name="preexistingHandle">An <see cref="T:System.IntPtr" /> object that represents the pre-existing handle to use.</param>
|
||||
/// <param name="ownsHandle">
|
||||
/// <see langword="true" /> to reliably release the handle during the finalization phase; <see langword="false" /> to prevent reliable release (not recommended).</param>
|
||||
// Token: 0x06000302 RID: 770 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000302")]
|
||||
[Address(RVA = "0x2AB5380", Offset = "0x2AB4180", VA = "0x182AB5380")]
|
||||
public SafeFileHandle(IntPtr preexistingHandle, bool ownsHandle)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000303 RID: 771 RVA: 0x00003378 File Offset: 0x00001578
|
||||
[Token(Token = "0x6000303")]
|
||||
[Address(RVA = "0x2AB5310", Offset = "0x2AB4110", VA = "0x182AB5310", Slot = "7")]
|
||||
protected override bool ReleaseHandle()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32.SafeHandles
|
||||
{
|
||||
// Token: 0x02000071 RID: 113
|
||||
[Token(Token = "0x2000071")]
|
||||
internal sealed class SafeFindHandle : SafeHandleZeroOrMinusOneIsInvalid
|
||||
{
|
||||
// Token: 0x06000304 RID: 772 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000304")]
|
||||
[Address(RVA = "0x2AB5440", Offset = "0x2AB4240", VA = "0x182AB5440")]
|
||||
internal SafeFindHandle(IntPtr preexistingHandle)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000305 RID: 773 RVA: 0x00003390 File Offset: 0x00001590
|
||||
[Token(Token = "0x6000305")]
|
||||
[Address(RVA = "0x2AB53E0", Offset = "0x2AB41E0", VA = "0x182AB53E0", Slot = "7")]
|
||||
protected override bool ReleaseHandle()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32.SafeHandles
|
||||
{
|
||||
/// <summary>Provides a base class for Win32 safe handle implementations in which the value of either 0 or -1 indicates an invalid handle.</summary>
|
||||
// Token: 0x02000074 RID: 116
|
||||
[Token(Token = "0x2000074")]
|
||||
public abstract class SafeHandleZeroOrMinusOneIsInvalid : SafeHandle
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid" /> class, specifying whether the handle is to be reliably released.</summary>
|
||||
/// <param name="ownsHandle">
|
||||
/// <see langword="true" /> to reliably release the handle during the finalization phase; <see langword="false" /> to prevent reliable release (not recommended).</param>
|
||||
// Token: 0x0600030A RID: 778 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600030A")]
|
||||
[Address(RVA = "0x2AB5490", Offset = "0x2AB4290", VA = "0x182AB5490")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
protected SafeHandleZeroOrMinusOneIsInvalid(bool ownsHandle)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a value that indicates whether the handle is invalid.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the handle is not valid; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x17000067 RID: 103
|
||||
// (get) Token: 0x0600030B RID: 779 RVA: 0x000033D8 File Offset: 0x000015D8
|
||||
[Token(Token = "0x17000067")]
|
||||
public override bool IsInvalid
|
||||
{
|
||||
[Token(Token = "0x600030B")]
|
||||
[Address(RVA = "0x2AB54E0", Offset = "0x2AB42E0", VA = "0x182AB54E0", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32.SafeHandles
|
||||
{
|
||||
/// <summary>Represents a safe handle to the Windows registry.</summary>
|
||||
// Token: 0x02000072 RID: 114
|
||||
[Token(Token = "0x2000072")]
|
||||
public sealed class SafeRegistryHandle : SafeHandleZeroOrMinusOneIsInvalid
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:Microsoft.Win32.SafeHandles.SafeRegistryHandle" /> class.</summary>
|
||||
/// <param name="preexistingHandle">An object that represents the pre-existing handle to use.</param>
|
||||
/// <param name="ownsHandle">
|
||||
/// <see langword="true" /> to reliably release the handle during the finalization phase; <see langword="false" /> to prevent reliable release.</param>
|
||||
// Token: 0x06000306 RID: 774 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000306")]
|
||||
[Address(RVA = "0x2AB5380", Offset = "0x2AB4180", VA = "0x182AB5380")]
|
||||
public SafeRegistryHandle(IntPtr preexistingHandle, bool ownsHandle)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000307 RID: 775 RVA: 0x000033A8 File Offset: 0x000015A8
|
||||
[Token(Token = "0x6000307")]
|
||||
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "7")]
|
||||
protected override bool ReleaseHandle()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32.SafeHandles
|
||||
{
|
||||
/// <summary>Represents a wrapper class for a wait handle.</summary>
|
||||
// Token: 0x02000073 RID: 115
|
||||
[Token(Token = "0x2000073")]
|
||||
public sealed class SafeWaitHandle : SafeHandleZeroOrMinusOneIsInvalid
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:Microsoft.Win32.SafeHandles.SafeWaitHandle" /> class.</summary>
|
||||
/// <param name="existingHandle">An <see cref="T:System.IntPtr" /> object that represents the pre-existing handle to use.</param>
|
||||
/// <param name="ownsHandle">
|
||||
/// <see langword="true" /> to reliably release the handle during the finalization phase; <see langword="false" /> to prevent reliable release (not recommended).</param>
|
||||
// Token: 0x06000308 RID: 776 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000308")]
|
||||
[Address(RVA = "0x2AB5380", Offset = "0x2AB4180", VA = "0x182AB5380")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
public SafeWaitHandle(IntPtr existingHandle, bool ownsHandle)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000309 RID: 777 RVA: 0x000033C0 File Offset: 0x000015C0
|
||||
[Token(Token = "0x6000309")]
|
||||
[Address(RVA = "0x2AB5540", Offset = "0x2AB4340", VA = "0x182AB5540", Slot = "7")]
|
||||
protected override bool ReleaseHandle()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,118 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
// Token: 0x0200006C RID: 108
|
||||
[Token(Token = "0x200006C")]
|
||||
internal class UnixRegistryApi : IRegistryApi
|
||||
{
|
||||
// Token: 0x060002D4 RID: 724 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002D4")]
|
||||
[Address(RVA = "0x2ABD310", Offset = "0x2ABC110", VA = "0x182ABD310")]
|
||||
private static string ToUnix(string keyname)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002D5 RID: 725 RVA: 0x000032D0 File Offset: 0x000014D0
|
||||
[Token(Token = "0x60002D5")]
|
||||
[Address(RVA = "0x2ABCEF0", Offset = "0x2ABBCF0", VA = "0x182ABCEF0")]
|
||||
private static bool IsWellKnownKey(string parentKeyName, string keyname)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060002D6 RID: 726 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002D6")]
|
||||
[Address(RVA = "0x2ABCB60", Offset = "0x2ABB960", VA = "0x182ABCB60", Slot = "4")]
|
||||
public RegistryKey CreateSubKey(RegistryKey rkey, string keyname)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002D7 RID: 727 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002D7")]
|
||||
[Address(RVA = "0x2ABD020", Offset = "0x2ABBE20", VA = "0x182ABD020", Slot = "5")]
|
||||
public RegistryKey OpenSubKey(RegistryKey rkey, string keyname, bool writable)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002D8 RID: 728 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002D8")]
|
||||
[Address(RVA = "0x2ABCD10", Offset = "0x2ABBB10", VA = "0x182ABCD10", Slot = "6")]
|
||||
public void Flush(RegistryKey rkey)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002D9 RID: 729 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002D9")]
|
||||
[Address(RVA = "0x2ABC960", Offset = "0x2ABB760", VA = "0x182ABC960", Slot = "7")]
|
||||
public void Close(RegistryKey rkey)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002DA RID: 730 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002DA")]
|
||||
[Address(RVA = "0x2ABCE40", Offset = "0x2ABBC40", VA = "0x182ABCE40", Slot = "8")]
|
||||
public object GetValue(RegistryKey rkey, string name, object default_value, RegistryValueOptions options)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002DB RID: 731 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002DB")]
|
||||
[Address(RVA = "0x2ABD260", Offset = "0x2ABC060", VA = "0x182ABD260", Slot = "9")]
|
||||
public void SetValue(RegistryKey rkey, string name, object value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002DC RID: 732 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002DC")]
|
||||
[Address(RVA = "0x2ABCDD0", Offset = "0x2ABBBD0", VA = "0x182ABCDD0", Slot = "10")]
|
||||
public string[] GetSubKeyNames(RegistryKey rkey)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002DD RID: 733 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002DD")]
|
||||
[Address(RVA = "0x901BC0", Offset = "0x9009C0", VA = "0x180901BC0", Slot = "11")]
|
||||
public string ToString(RegistryKey rkey)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002DE RID: 734 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002DE")]
|
||||
[Address(RVA = "0x2ABCB80", Offset = "0x2ABB980", VA = "0x182ABCB80")]
|
||||
private RegistryKey CreateSubKey(RegistryKey rkey, string keyname, bool writable)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002DF RID: 735 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002DF")]
|
||||
[Address(RVA = "0x2ABC9C0", Offset = "0x2ABB7C0", VA = "0x182ABC9C0")]
|
||||
private RegistryKey CreateSubKey(RegistryKey rkey, string keyname, bool writable, bool is_volatile)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002E0 RID: 736 RVA: 0x000032E8 File Offset: 0x000014E8
|
||||
[Token(Token = "0x60002E0")]
|
||||
[Address(RVA = "0x2ABCD80", Offset = "0x2ABBB80", VA = "0x182ABCD80", Slot = "12")]
|
||||
public IntPtr GetHandle(RegistryKey key)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060002E1 RID: 737 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002E1")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public UnixRegistryApi()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,222 @@
|
||||
using System;
|
||||
using System.Diagnostics.Tracing;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
// Token: 0x02000059 RID: 89
|
||||
[Token(Token = "0x2000059")]
|
||||
internal static class UnsafeNativeMethods
|
||||
{
|
||||
// Token: 0x0200005A RID: 90
|
||||
[Token(Token = "0x200005A")]
|
||||
internal static class ManifestEtw
|
||||
{
|
||||
// Token: 0x0600027F RID: 639
|
||||
[Token(Token = "0x600027F")]
|
||||
[Address(RVA = "0x2AB1220", Offset = "0x2AB0020", VA = "0x182AB1220")]
|
||||
internal unsafe static extern uint EventRegister([In] ref Guid providerId, [In] UnsafeNativeMethods.ManifestEtw.EtwEnableCallback enableCallback, [In] void* callbackContext, [In] [Out] ref long registrationHandle);
|
||||
|
||||
// Token: 0x06000280 RID: 640
|
||||
[Token(Token = "0x6000280")]
|
||||
[Address(RVA = "0x2AB1370", Offset = "0x2AB0170", VA = "0x182AB1370")]
|
||||
internal static extern uint EventUnregister([In] long registrationHandle);
|
||||
|
||||
// Token: 0x06000281 RID: 641 RVA: 0x000031B0 File Offset: 0x000013B0
|
||||
[Token(Token = "0x6000281")]
|
||||
[Address(RVA = "0x2AB13F0", Offset = "0x2AB01F0", VA = "0x182AB13F0")]
|
||||
internal unsafe static int EventWriteTransferWrapper(long registrationHandle, ref EventDescriptor eventDescriptor, Guid* activityId, Guid* relatedActivityId, int userDataCount, EventProvider.EventData* userData)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06000282 RID: 642
|
||||
[Token(Token = "0x6000282")]
|
||||
[Address(RVA = "0x2AB14F0", Offset = "0x2AB02F0", VA = "0x182AB14F0")]
|
||||
private unsafe static extern int EventWriteTransfer([In] long registrationHandle, [In] ref EventDescriptor eventDescriptor, [In] Guid* activityId, [In] Guid* relatedActivityId, [In] int userDataCount, [In] EventProvider.EventData* userData);
|
||||
|
||||
// Token: 0x06000283 RID: 643
|
||||
[Token(Token = "0x6000283")]
|
||||
[Address(RVA = "0x2AB1190", Offset = "0x2AAFF90", VA = "0x182AB1190")]
|
||||
internal static extern int EventActivityIdControl([In] UnsafeNativeMethods.ManifestEtw.ActivityControl ControlCode, [In] [Out] ref Guid ActivityId);
|
||||
|
||||
// Token: 0x06000284 RID: 644
|
||||
[Token(Token = "0x6000284")]
|
||||
[Address(RVA = "0x2AB12D0", Offset = "0x2AB00D0", VA = "0x182AB12D0")]
|
||||
internal unsafe static extern int EventSetInformation([In] long registrationHandle, [In] UnsafeNativeMethods.ManifestEtw.EVENT_INFO_CLASS informationClass, [In] void* eventInformation, [In] int informationLength);
|
||||
|
||||
// Token: 0x06000285 RID: 645
|
||||
[Token(Token = "0x6000285")]
|
||||
[Address(RVA = "0x2AB10D0", Offset = "0x2AAFED0", VA = "0x182AB10D0")]
|
||||
internal unsafe static extern int EnumerateTraceGuidsEx(UnsafeNativeMethods.ManifestEtw.TRACE_QUERY_INFO_CLASS TraceQueryInfoClass, void* InBuffer, int InBufferSize, void* OutBuffer, int OutBufferSize, ref int ReturnLength);
|
||||
|
||||
// Token: 0x0200005B RID: 91
|
||||
// (Invoke) Token: 0x06000287 RID: 647
|
||||
[Token(Token = "0x200005B")]
|
||||
internal unsafe delegate void EtwEnableCallback([In] ref Guid sourceId, [In] int isEnabled, [In] byte level, [In] long matchAnyKeywords, [In] long matchAllKeywords, [In] UnsafeNativeMethods.ManifestEtw.EVENT_FILTER_DESCRIPTOR* filterData, [In] void* callbackContext);
|
||||
|
||||
// Token: 0x0200005C RID: 92
|
||||
[Token(Token = "0x200005C")]
|
||||
internal struct EVENT_FILTER_DESCRIPTOR
|
||||
{
|
||||
// Token: 0x04000160 RID: 352
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000160")]
|
||||
public long Ptr;
|
||||
|
||||
// Token: 0x04000161 RID: 353
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4000161")]
|
||||
public int Size;
|
||||
|
||||
// Token: 0x04000162 RID: 354
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC")]
|
||||
[Token(Token = "0x4000162")]
|
||||
public int Type;
|
||||
}
|
||||
|
||||
// Token: 0x0200005D RID: 93
|
||||
[Token(Token = "0x200005D")]
|
||||
internal enum ActivityControl : uint
|
||||
{
|
||||
// Token: 0x04000164 RID: 356
|
||||
[Token(Token = "0x4000164")]
|
||||
EVENT_ACTIVITY_CTRL_GET_ID = 1U,
|
||||
// Token: 0x04000165 RID: 357
|
||||
[Token(Token = "0x4000165")]
|
||||
EVENT_ACTIVITY_CTRL_SET_ID,
|
||||
// Token: 0x04000166 RID: 358
|
||||
[Token(Token = "0x4000166")]
|
||||
EVENT_ACTIVITY_CTRL_CREATE_ID,
|
||||
// Token: 0x04000167 RID: 359
|
||||
[Token(Token = "0x4000167")]
|
||||
EVENT_ACTIVITY_CTRL_GET_SET_ID,
|
||||
// Token: 0x04000168 RID: 360
|
||||
[Token(Token = "0x4000168")]
|
||||
EVENT_ACTIVITY_CTRL_CREATE_SET_ID
|
||||
}
|
||||
|
||||
// Token: 0x0200005E RID: 94
|
||||
[Token(Token = "0x200005E")]
|
||||
internal enum EVENT_INFO_CLASS
|
||||
{
|
||||
// Token: 0x0400016A RID: 362
|
||||
[Token(Token = "0x400016A")]
|
||||
BinaryTrackInfo,
|
||||
// Token: 0x0400016B RID: 363
|
||||
[Token(Token = "0x400016B")]
|
||||
SetEnableAllKeywords,
|
||||
// Token: 0x0400016C RID: 364
|
||||
[Token(Token = "0x400016C")]
|
||||
SetTraits
|
||||
}
|
||||
|
||||
// Token: 0x0200005F RID: 95
|
||||
[Token(Token = "0x200005F")]
|
||||
internal enum TRACE_QUERY_INFO_CLASS
|
||||
{
|
||||
// Token: 0x0400016E RID: 366
|
||||
[Token(Token = "0x400016E")]
|
||||
TraceGuidQueryList,
|
||||
// Token: 0x0400016F RID: 367
|
||||
[Token(Token = "0x400016F")]
|
||||
TraceGuidQueryInfo,
|
||||
// Token: 0x04000170 RID: 368
|
||||
[Token(Token = "0x4000170")]
|
||||
TraceGuidQueryProcess,
|
||||
// Token: 0x04000171 RID: 369
|
||||
[Token(Token = "0x4000171")]
|
||||
TraceStackTracingInfo,
|
||||
// Token: 0x04000172 RID: 370
|
||||
[Token(Token = "0x4000172")]
|
||||
MaxTraceSetInfoClass
|
||||
}
|
||||
|
||||
// Token: 0x02000060 RID: 96
|
||||
[Token(Token = "0x2000060")]
|
||||
internal struct TRACE_GUID_INFO
|
||||
{
|
||||
// Token: 0x04000173 RID: 371
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000173")]
|
||||
public int InstanceCount;
|
||||
|
||||
// Token: 0x04000174 RID: 372
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x4")]
|
||||
[Token(Token = "0x4000174")]
|
||||
public int Reserved;
|
||||
}
|
||||
|
||||
// Token: 0x02000061 RID: 97
|
||||
[Token(Token = "0x2000061")]
|
||||
internal struct TRACE_PROVIDER_INSTANCE_INFO
|
||||
{
|
||||
// Token: 0x04000175 RID: 373
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000175")]
|
||||
public int NextOffset;
|
||||
|
||||
// Token: 0x04000176 RID: 374
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x4")]
|
||||
[Token(Token = "0x4000176")]
|
||||
public int EnableCount;
|
||||
|
||||
// Token: 0x04000177 RID: 375
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4000177")]
|
||||
public int Pid;
|
||||
|
||||
// Token: 0x04000178 RID: 376
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC")]
|
||||
[Token(Token = "0x4000178")]
|
||||
public int Flags;
|
||||
}
|
||||
|
||||
// Token: 0x02000062 RID: 98
|
||||
[Token(Token = "0x2000062")]
|
||||
internal struct TRACE_ENABLE_INFO
|
||||
{
|
||||
// Token: 0x04000179 RID: 377
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000179")]
|
||||
public int IsEnabled;
|
||||
|
||||
// Token: 0x0400017A RID: 378
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x4")]
|
||||
[Token(Token = "0x400017A")]
|
||||
public byte Level;
|
||||
|
||||
// Token: 0x0400017B RID: 379
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x5")]
|
||||
[Token(Token = "0x400017B")]
|
||||
public byte Reserved1;
|
||||
|
||||
// Token: 0x0400017C RID: 380
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x6")]
|
||||
[Token(Token = "0x400017C")]
|
||||
public ushort LoggerId;
|
||||
|
||||
// Token: 0x0400017D RID: 381
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x400017D")]
|
||||
public int EnableProperty;
|
||||
|
||||
// Token: 0x0400017E RID: 382
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC")]
|
||||
[Token(Token = "0x400017E")]
|
||||
public int Reserved2;
|
||||
|
||||
// Token: 0x0400017F RID: 383
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400017F")]
|
||||
public long MatchAnyKeyword;
|
||||
|
||||
// Token: 0x04000180 RID: 384
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000180")]
|
||||
public long MatchAllKeyword;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
// Token: 0x0200006E RID: 110
|
||||
[Token(Token = "0x200006E")]
|
||||
internal static class Win32Native
|
||||
{
|
||||
// Token: 0x060002FE RID: 766 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002FE")]
|
||||
[Address(RVA = "0x2ABD3F0", Offset = "0x2ABC1F0", VA = "0x182ABD3F0")]
|
||||
public static string GetMessage(int hr)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002FF RID: 767 RVA: 0x00003360 File Offset: 0x00001560
|
||||
[Token(Token = "0x60002FF")]
|
||||
[Address(RVA = "0x2ABD440", Offset = "0x2ABC240", VA = "0x182ABD440")]
|
||||
public static int MakeHRFromErrorCode(int errorCode)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06000300 RID: 768
|
||||
[Token(Token = "0x6000300")]
|
||||
[Address(RVA = "0x2ABD370", Offset = "0x2ABC170", VA = "0x182ABD370")]
|
||||
internal static extern uint GetCurrentProcessId();
|
||||
|
||||
// Token: 0x0200006F RID: 111
|
||||
[Token(Token = "0x200006F")]
|
||||
internal class WIN32_FIND_DATA
|
||||
{
|
||||
// Token: 0x06000301 RID: 769 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000301")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public WIN32_FIND_DATA()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040001AF RID: 431
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40001AF")]
|
||||
internal int dwFileAttributes;
|
||||
|
||||
// Token: 0x040001B0 RID: 432
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40001B0")]
|
||||
internal string cFileName;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,197 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
// Token: 0x0200006D RID: 109
|
||||
[Token(Token = "0x200006D")]
|
||||
internal class Win32RegistryApi : IRegistryApi
|
||||
{
|
||||
// Token: 0x060002E2 RID: 738
|
||||
[Token(Token = "0x60002E2")]
|
||||
[Address(RVA = "0x2ABE950", Offset = "0x2ABD750", VA = "0x182ABE950")]
|
||||
private static extern int RegCreateKeyEx(IntPtr keyBase, string keyName, int reserved, IntPtr lpClass, int options, int access, IntPtr securityAttrs, out IntPtr keyHandle, out int disposition);
|
||||
|
||||
// Token: 0x060002E3 RID: 739
|
||||
[Token(Token = "0x60002E3")]
|
||||
[Address(RVA = "0x2ABE8D0", Offset = "0x2ABD6D0", VA = "0x182ABE8D0")]
|
||||
private static extern int RegCloseKey(IntPtr keyHandle);
|
||||
|
||||
// Token: 0x060002E4 RID: 740
|
||||
[Token(Token = "0x60002E4")]
|
||||
[Address(RVA = "0x2ABEB80", Offset = "0x2ABD980", VA = "0x182ABEB80")]
|
||||
private static extern int RegFlushKey(IntPtr keyHandle);
|
||||
|
||||
// Token: 0x060002E5 RID: 741
|
||||
[Token(Token = "0x60002E5")]
|
||||
[Address(RVA = "0x2ABEC00", Offset = "0x2ABDA00", VA = "0x182ABEC00")]
|
||||
private static extern int RegOpenKeyEx(IntPtr keyBase, string keyName, IntPtr reserved, int access, out IntPtr keyHandle);
|
||||
|
||||
// Token: 0x060002E6 RID: 742
|
||||
[Token(Token = "0x60002E6")]
|
||||
[Address(RVA = "0x2ABEA50", Offset = "0x2ABD850", VA = "0x182ABEA50")]
|
||||
internal unsafe static extern int RegEnumKeyEx(IntPtr keyHandle, int dwIndex, char* lpName, ref int lpcbName, int[] lpReserved, [Out] StringBuilder lpClass, int[] lpcbClass, long[] lpftLastWriteTime);
|
||||
|
||||
// Token: 0x060002E7 RID: 743
|
||||
[Token(Token = "0x60002E7")]
|
||||
[Address(RVA = "0x2ABF2D0", Offset = "0x2ABE0D0", VA = "0x182ABF2D0")]
|
||||
private static extern int RegSetValueEx(IntPtr keyBase, string valueName, IntPtr reserved, RegistryValueKind type, string data, int rawDataLength);
|
||||
|
||||
// Token: 0x060002E8 RID: 744
|
||||
[Token(Token = "0x60002E8")]
|
||||
[Address(RVA = "0x2ABF3B0", Offset = "0x2ABE1B0", VA = "0x182ABF3B0")]
|
||||
private static extern int RegSetValueEx(IntPtr keyBase, string valueName, IntPtr reserved, RegistryValueKind type, byte[] rawData, int rawDataLength);
|
||||
|
||||
// Token: 0x060002E9 RID: 745
|
||||
[Token(Token = "0x60002E9")]
|
||||
[Address(RVA = "0x2ABF200", Offset = "0x2ABE000", VA = "0x182ABF200")]
|
||||
private static extern int RegSetValueEx(IntPtr keyBase, string valueName, IntPtr reserved, RegistryValueKind type, ref int data, int rawDataLength);
|
||||
|
||||
// Token: 0x060002EA RID: 746
|
||||
[Token(Token = "0x60002EA")]
|
||||
[Address(RVA = "0x2ABF130", Offset = "0x2ABDF30", VA = "0x182ABF130")]
|
||||
private static extern int RegQueryValueEx(IntPtr keyBase, string valueName, IntPtr reserved, ref RegistryValueKind type, IntPtr zero, ref int dataSize);
|
||||
|
||||
// Token: 0x060002EB RID: 747
|
||||
[Token(Token = "0x60002EB")]
|
||||
[Address(RVA = "0x2ABEE50", Offset = "0x2ABDC50", VA = "0x182ABEE50")]
|
||||
private static extern int RegQueryValueEx(IntPtr keyBase, string valueName, IntPtr reserved, ref RegistryValueKind type, [Out] byte[] data, ref int dataSize);
|
||||
|
||||
// Token: 0x060002EC RID: 748
|
||||
[Token(Token = "0x60002EC")]
|
||||
[Address(RVA = "0x2ABEF90", Offset = "0x2ABDD90", VA = "0x182ABEF90")]
|
||||
private static extern int RegQueryValueEx(IntPtr keyBase, string valueName, IntPtr reserved, ref RegistryValueKind type, ref int data, ref int dataSize);
|
||||
|
||||
// Token: 0x060002ED RID: 749
|
||||
[Token(Token = "0x60002ED")]
|
||||
[Address(RVA = "0x2ABF060", Offset = "0x2ABDE60", VA = "0x182ABF060")]
|
||||
private static extern int RegQueryValueEx(IntPtr keyBase, string valueName, IntPtr reserved, ref RegistryValueKind type, ref long data, ref int dataSize);
|
||||
|
||||
// Token: 0x060002EE RID: 750
|
||||
[Token(Token = "0x60002EE")]
|
||||
[Address(RVA = "0x2ABECC0", Offset = "0x2ABDAC0", VA = "0x182ABECC0")]
|
||||
internal static extern int RegQueryInfoKey(IntPtr hKey, [Out] StringBuilder lpClass, int[] lpcbClass, IntPtr lpReserved_MustBeZero, ref int lpcSubKeys, int[] lpcbMaxSubKeyLen, int[] lpcbMaxClassLen, ref int lpcValues, int[] lpcbMaxValueNameLen, int[] lpcbMaxValueLen, int[] lpcbSecurityDescriptor, int[] lpftLastWriteTime);
|
||||
|
||||
// Token: 0x060002EF RID: 751 RVA: 0x00003300 File Offset: 0x00001500
|
||||
[Token(Token = "0x60002EF")]
|
||||
[Address(RVA = "0x2ABDDB0", Offset = "0x2ABCBB0", VA = "0x182ABDDB0", Slot = "12")]
|
||||
public IntPtr GetHandle(RegistryKey key)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060002F0 RID: 752 RVA: 0x00003318 File Offset: 0x00001518
|
||||
[Token(Token = "0x60002F0")]
|
||||
[Address(RVA = "0x2ABE6D0", Offset = "0x2ABD4D0", VA = "0x182ABE6D0")]
|
||||
private static bool IsHandleValid(RegistryKey key)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060002F1 RID: 753 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002F1")]
|
||||
[Address(RVA = "0x2ABE1E0", Offset = "0x2ABCFE0", VA = "0x182ABE1E0", Slot = "8")]
|
||||
public object GetValue(RegistryKey rkey, string name, object defaultValue, RegistryValueOptions options)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002F2 RID: 754 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002F2")]
|
||||
[Address(RVA = "0x2ABF490", Offset = "0x2ABE290", VA = "0x182ABF490", Slot = "9")]
|
||||
public void SetValue(RegistryKey rkey, string name, object value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002F3 RID: 755 RVA: 0x00003330 File Offset: 0x00001530
|
||||
[Token(Token = "0x60002F3")]
|
||||
[Address(RVA = "0x2ABDBC0", Offset = "0x2ABC9C0", VA = "0x182ABDBC0")]
|
||||
private int GetBinaryValue(RegistryKey rkey, string name, RegistryValueKind type, out byte[] data, int size)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060002F4 RID: 756 RVA: 0x00003348 File Offset: 0x00001548
|
||||
[Token(Token = "0x60002F4")]
|
||||
[Address(RVA = "0x2ABF9B0", Offset = "0x2ABE7B0", VA = "0x182ABF9B0", Slot = "13")]
|
||||
public int SubKeyCount(RegistryKey rkey)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060002F5 RID: 757 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002F5")]
|
||||
[Address(RVA = "0x2ABE6F0", Offset = "0x2ABD4F0", VA = "0x182ABE6F0", Slot = "5")]
|
||||
public RegistryKey OpenSubKey(RegistryKey rkey, string keyName, bool writable)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002F6 RID: 758 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002F6")]
|
||||
[Address(RVA = "0x2ABD920", Offset = "0x2ABC720", VA = "0x182ABD920", Slot = "6")]
|
||||
public void Flush(RegistryKey rkey)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002F7 RID: 759 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002F7")]
|
||||
[Address(RVA = "0x2ABD450", Offset = "0x2ABC250", VA = "0x182ABD450", Slot = "7")]
|
||||
public void Close(RegistryKey rkey)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002F8 RID: 760 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002F8")]
|
||||
[Address(RVA = "0x2ABD710", Offset = "0x2ABC510", VA = "0x182ABD710", Slot = "4")]
|
||||
public RegistryKey CreateSubKey(RegistryKey rkey, string keyName)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002F9 RID: 761 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002F9")]
|
||||
[Address(RVA = "0x2ABDE20", Offset = "0x2ABCC20", VA = "0x182ABDE20", Slot = "10")]
|
||||
public string[] GetSubKeyNames(RegistryKey rkey)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002FA RID: 762 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002FA")]
|
||||
[Address(RVA = "0x2ABDA10", Offset = "0x2ABC810", VA = "0x182ABDA10")]
|
||||
private void GenerateException(int errorCode)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060002FB RID: 763 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002FB")]
|
||||
[Address(RVA = "0x901BC0", Offset = "0x9009C0", VA = "0x180901BC0", Slot = "11")]
|
||||
public string ToString(RegistryKey rkey)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002FC RID: 764 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60002FC")]
|
||||
[Address(RVA = "0x2ABD6B0", Offset = "0x2ABC4B0", VA = "0x182ABD6B0")]
|
||||
internal static string CombineName(RegistryKey rkey, string localName)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060002FD RID: 765 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60002FD")]
|
||||
[Address(RVA = "0x2ABFB60", Offset = "0x2ABE960", VA = "0x182ABFB60")]
|
||||
public Win32RegistryApi()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040001AE RID: 430
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40001AE")]
|
||||
private readonly int NativeBytesPerCharacter;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user