コード例 #1
0
 internal static int GetHashPropertyInt32(SafeCspHashHandle hashHandle, CapiNative.HashProperty property)
 {
     byte[] hashProperty = CapiNative.GetHashProperty(hashHandle, property);
     if (hashProperty.Length != 4)
     {
         return(0);
     }
     return(BitConverter.ToInt32(hashProperty, 0));
 }