Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
ToCryptographicException()
[4/4]
static
CryptographicException
Internal.Cryptography.CryptoThrowHelper.ToCryptographicException
(
this int
hr
)
inline
static
Definition at line
16
of file
CryptoThrowHelper.cs
.
17
{
18
string
message = global::Interop.Kernel32.GetMessage(hr);
19
if
((hr & 0x80000000u) != 2147483648u)
20
{
21
hr = (hr & 0xFFFF) | -2147024896;
22
}
23
return
new
WindowsCryptographicException(hr, message);
24
}
Internal
Cryptography
CryptoThrowHelper
Generated by
1.10.0