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

42 lines
1.6 KiB
C#

using System;
using Cpp2IlInjected;
namespace Microsoft.Win32.SafeHandles
{
/// <summary>Provides a managed wrapper for a process handle.</summary>
// Token: 0x02000072 RID: 114
[Token(Token = "0x2000072")]
public sealed class SafeProcessHandle : SafeHandleZeroOrMinusOneIsInvalid
{
// Token: 0x060001DF RID: 479 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60001DF")]
[Address(RVA = "0x92C920", Offset = "0x92B920", VA = "0x18092C920")]
internal SafeProcessHandle(IntPtr handle)
{
}
/// <summary>Initializes a new instance of the <see cref="T:Microsoft.Win32.SafeHandles.SafeProcessHandle" /> class from the specified handle, indicating whether to release the handle during the finalization phase.</summary>
/// <param name="existingHandle">The handle to be wrapped.</param>
/// <param name="ownsHandle">
/// <see langword="true" /> to reliably let <see cref="T:Microsoft.Win32.SafeHandles.SafeProcessHandle" /> release the handle during the finalization phase; otherwise, <see langword="false" />.</param>
// Token: 0x060001E0 RID: 480 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60001E0")]
[Address(RVA = "0x92C8F0", Offset = "0x92B8F0", VA = "0x18092C8F0")]
public SafeProcessHandle(IntPtr existingHandle, bool ownsHandle)
{
}
// Token: 0x060001E1 RID: 481 RVA: 0x00002880 File Offset: 0x00000A80
[Token(Token = "0x60001E1")]
[Address(RVA = "0x92C880", Offset = "0x92B880", VA = "0x18092C880", Slot = "7")]
protected override bool ReleaseHandle()
{
return default(bool);
}
// Token: 0x04000128 RID: 296
[Token(Token = "0x4000128")]
internal static SafeProcessHandle InvalidHandle;
}
}