Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
SetExportPolicy()
static unsafe void Internal.Cryptography.Helpers.SetExportPolicy
(
this
SafeNCryptKeyHandle
keyHandle
,
CngExportPolicies
exportPolicy
)
inline
static
Definition at line
125
of file
Helpers.cs
.
126
{
127
global::Interop.NCrypt.ErrorCode errorCode = global::Interop.NCrypt.NCryptSetProperty(keyHandle,
"Export Policy"
, &exportPolicy, 4,
CngPropertyOptions
.Persist);
128
if
(errorCode != 0)
129
{
130
throw
errorCode.ToCryptographicException();
131
}
132
}
System.Security.Cryptography.CngPropertyOptions
CngPropertyOptions
Definition
CngPropertyOptions.cs:5
Internal
Cryptography
Helpers
Generated by
1.10.0