Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SafeMsQuicListenerHandle.cs
Go to the documentation of this file.
2
4
5internal sealed class SafeMsQuicListenerHandle : SafeHandle
6{
7 public override bool IsInvalid => handle == IntPtr.Zero;
8
10 : base(IntPtr.Zero, ownsHandle: true)
11 {
12 }
13
14 protected override bool ReleaseHandle()
15 {
16 MsQuicApi.Api.ListenerCloseDelegate(handle);
18 return true;
19 }
20}
static readonly IntPtr Zero
Definition IntPtr.cs:18