Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

31 lines
1.2 KiB
C#

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);
}
}
}