iA piece of internet history. Mentalis.org (2002–2011) was the .NET successor of AllAPI.net, by the same two brothers. We keep it online as it was. The code is from the early .NET years and is no longer maintained: please don't use the security libraries in new projects.
How to find a root certificate of a known certificate from the root store?
by LEMBAS posted on 2003/12/24
I have a certificate object. How can I search and find the root certificate of my certificate from the root store?
by Pieter Philippaerts posted on 2004/01/12
Initialize a CertificateChain instance with your certificate. One you have the chain, call the GetCertificates method. This method returns an array of certificates. The certificate with the highest index is the root certificate [if it can be found].
by LEMBAS posted on 2004/01/16
doing what you said with a certificate in a smartcard doesn't work. the chain always have a "count" 1. No matter what you chooose as an additional certificate store in the certificatechain constructor.
But the thing is i can see its chain clearly in internet explorer's certificate view form.