I was one of five users who voted to close your question†. Since you specifically asked me in a (deleted) comment on your question about why it was closed (presumably I am the user who has the serious activity in the c# tag you mentioned here), I will answer.
For the record, and if it's relevant, I came across your question when it was linked to in the SO Close Vote Reviewers chat room. I did not feel pressured into voting to close your question as a result of it appearing there, nor would my actions have been different if I'd seen your question from the main page or the Close Votes review queue.
† the first time - it seems that following your question being reopened, it was closed for being too broad and reopened a second time: I did not participate in the closing the second time.
The entirety of the first revision of your question is:
In my C# code I have a X509Certificate2 which represents an SSL certificate from local certificate store. The certificate is signed with some intermediate certificate which maybe is present in the local store, maybe not.
How do I know a thumbprint or anything equivalent which would let me identify which certificate was used to sign my certificate?
The default message which accompanies a question closed as too broad reads (emphasis mine):
There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs. If this question can be reworded to fit the rules in the help center, please edit the question.
Since you hadn't posted your attempts to try this yourself, there's no code for us to go off. I felt that any answers posted could have wildly different approaches to finding out which certificate was used to sign yours, which wouldn't necessarily be helpful.
I see that you added
, so using X509Chain.Build()
will probably not work
to the question after it was closed, which shows that you had at least tried (or ruled out) something.
From my understanding of the 'too broad' close reason your question, in the state it was in when it was closed, was too broad since it didn't show what you'd tried so far. Had I seen your edits before others opened it, I would have voted to reopen it. Likewise, were your question shown to me in its current state, I would not have voted to close it.
I will point out that it was only last week that I gained sufficient reputation (3,000) to cast close-votes on questions; I can only blame this on over-exuberant application of what I interpreted the spirit of the 'too broad' close-vote reason to be.
If I was wrong to do so (and comments on the question, e.g. by Cody Gray, BoltClock ♦, et. al. indicate so), then I apologise.
X509Certificate2
object is, you don't need to see an example. Sigh, looks like the close voters were hoping to see a "debug my code" dump instead.