Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SafeFreeCertContext.cs
Go to the documentation of this file.
1
using
Microsoft.Win32.SafeHandles
;
2
3
namespace
System.Net.Security
;
4
5
internal
sealed
class
SafeFreeCertContext :
SafeHandleZeroOrMinusOneIsInvalid
6
{
7
public
SafeFreeCertContext
()
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
}
Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
Definition
SafeHandleZeroOrMinusOneIsInvalid.cs:7
System.Net.Security.SafeFreeCertContext.Set
void Set(IntPtr value)
Definition
SafeFreeCertContext.cs:12
System.Net.Security.SafeFreeCertContext.ReleaseHandle
override bool ReleaseHandle()
Definition
SafeFreeCertContext.cs:17
System.Net.Security.SafeFreeCertContext.SafeFreeCertContext
SafeFreeCertContext()
Definition
SafeFreeCertContext.cs:7
System.Runtime.InteropServices.SafeHandle.handle
IntPtr handle
Definition
SafeHandle.cs:8
Microsoft.Win32.SafeHandles
Definition
SafeProcessHandle.cs:3
System.Net.Security
Definition
CertificateHelper.cs:4
System.ExceptionArgument.value
@ value
System.IntPtr
Definition
IntPtr.cs:14
source
System.Net.Mail
System.Net.Security
SafeFreeCertContext.cs
Generated by
1.10.0