It throws this exception:
"Serialization and deserialization of 'System.IntPtr' instances are not supported. Path: $.Result.AttestationCertificate.Handle."
The problem can also be recreated in your current master branch if you register a new credential in the demo app under Custom with Direct attestation
Originally posted in #305 #305 (comment)