Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SafeFreeCertContext.cs
Go to the documentation of this file.
2
3namespace System.Net.Security;
4
5internal sealed class SafeFreeCertContext : SafeHandleZeroOrMinusOneIsInvalid
6{
8 : base(ownsHandle: true)
9 {
10 }
11
12 internal void Set(IntPtr value)
13 {
14 handle = value;
15 }
16
17 protected override bool ReleaseHandle()
18 {
19 global::Interop.Crypt32.CertFreeCertificateContext(handle);
20 return true;
21 }
22}