It would help to see your calling code as well. But assuming it's correct, try changing the string members in CRYPT_ALGORITHM_IDENTIFIER and CERT_EXTENSION to IntPtrs, and then retrieve the strings manually with Marshal.PtrToStringUnicode.
Mattias
=== Mattias Sj�gren [EMAIL PROTECTED]
=================================== This list is hosted by DevelopMentor� http://www.develop.com You may be interested in Guerrilla .NET, 24 March 2003, in London http://www.develop.com/courses/gdotnet
View archives and manage your subscription(s) at http://discuss.develop.com
