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

31 lines
1.2 KiB
C#

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 = "0xDB8C40", Offset = "0xDB7C40", VA = "0x180DB8C40")]
public SafeRegistryHandle(IntPtr preexistingHandle, bool ownsHandle)
{
}
// Token: 0x06000307 RID: 775 RVA: 0x000033A8 File Offset: 0x000015A8
[Token(Token = "0x6000307")]
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "7")]
protected override bool ReleaseHandle()
{
return default(bool);
}
}
}