Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetPropertyAsDword()

static int Internal.Cryptography.Helpers.GetPropertyAsDword ( this SafeNCryptHandle ncryptHandle,
string propertyName,
CngPropertyOptions options )
inlinestatic

Definition at line 102 of file Helpers.cs.

103 {
104 byte[] property = ncryptHandle.GetProperty(propertyName, options);
105 if (property == null)
106 {
107 return 0;
108 }
109 return BitConverter.ToInt32(property, 0);
110 }
static int ToInt32(byte[] value, int startIndex)

References System.options, and System.BitConverter.ToInt32().