31 lines
1.2 KiB
C#
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 = "0xDB8C40", Offset = "0xDB7C40", VA = "0x180DB8C40")]
|
|
public SafeFileHandle(IntPtr preexistingHandle, bool ownsHandle)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000303 RID: 771 RVA: 0x00003378 File Offset: 0x00001578
|
|
[Token(Token = "0x6000303")]
|
|
[Address(RVA = "0xDB8BD0", Offset = "0xDB7BD0", VA = "0x180DB8BD0", Slot = "7")]
|
|
protected override bool ReleaseHandle()
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
}
|