[StructLayout(LayoutKind.Sequential)]
public struct CRYPT_OBJID_BLOB
{
public uint cbData;
[MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)]
public byte[] pbData;
}
Structure CRYPT_OBJID_BLOB
Public TODO
End Structure
None.
None.
The above mentioned struct doesn't work, one should use
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public struct CRYPT_XYZ_BLOB
{
public Int32 cbData;
public IntPtr pbData;
}
XYZ can be any of the mentioned BLOBs on MSDN.