Terraria
v1.4.4.9
Terraria source code documentation
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Events
_
a
c
d
e
f
i
l
m
o
p
r
s
t
u
w
Files
File List
File Members
All
Enumerations
Macros
►
Terraria
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Macros
Loading...
Searching...
No Matches
◆
Archived
unsafe
bool
Internal.Cryptography.Pal.CertificatePal.Archived
get
set
Implements
Internal.Cryptography.ICertificatePal
.
Definition at line
148
of file
CertificatePal.cs
.
149
{
150
get
151
{
152
int
pcbData
= 0;
153
return
global::Interop.crypt32.CertGetCertificateContextProperty(
_certContext
,
CertContextPropId
.CERT_ARCHIVED_PROP_ID,
null
,
ref
pcbData
);
154
}
155
set
156
{
157
CRYPTOAPI_BLOB
cRYPTOAPI_BLOB
=
new
CRYPTOAPI_BLOB
(0,
null
);
158
CRYPTOAPI_BLOB
*
pvData
= (
value
? (&
cRYPTOAPI_BLOB
) :
null
);
159
if
(!global::Interop.crypt32.CertSetCertificateContextProperty(
_certContext
,
CertContextPropId
.CERT_ARCHIVED_PROP_ID,
CertSetPropertyFlags
.None,
pvData
))
160
{
161
throw
Marshal
.
GetLastWin32Error
().ToCryptographicException();
162
}
163
}
164
}
Internal.Cryptography.Pal.CertificatePal._certContext
SafeCertContextHandle _certContext
Definition
CertificatePal.cs:15
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Runtime.InteropServices.Marshal.GetLastWin32Error
static int GetLastWin32Error()
Definition
Marshal.cs:1567
System.Runtime.InteropServices.Marshal
Definition
Marshal.cs:14
Internal.Cryptography.Pal.Native.CertContextPropId
CertContextPropId
Definition
CertContextPropId.cs:4
Internal.Cryptography.Pal.Native.CertSetPropertyFlags
CertSetPropertyFlags
Definition
CertSetPropertyFlags.cs:7
System.ExceptionArgument.value
@ value
Internal.Cryptography.Pal.Native.CRYPTOAPI_BLOB
Definition
CRYPTOAPI_BLOB.cs:7
Internal
Cryptography
Pal
CertificatePal
Generated by
1.10.0