Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8410187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:06:44+00:00 2026-06-10T00:06:44+00:00

Motivation : I want be able to retrieve and view Certificates from a Windows

  • 0

Motivation:

  • I want be able to retrieve and view Certificates from a Windows CA on a local Machine. I don’t want to access the Browser-Keystores of the Machine, but the Windows CA (Windows Certifcate Authority (Service)).

  • I want to to do this in C#-Code.

My Investigation so far:
I found several Examples that are using the following line:

ICertView2 certView = new CERTADMINLib.CCertView();
...

I think i’m able to use this line and the ICertView2 Structure, i reached my Goal.
If a write this Line into my C#-Code in Visual Studio, it says to me, that it don’t know ICertView2 and CERTADMINLib.
So if searched the Web again and found out the i need to import a Reference. I need the COM Library certadmin.dll, that fortunately exists in my C:\Windows\System32 Folder.
So i tried to add the Reference over the Solutionexplorer->Project->References->Add Reference->COM. But it is not listed there, only a similar looking Library called “CertCli 1.0 Type Library“. I added this and also was able to type an

using CERTCLIENTLib;

but unfortuneatly, the needed “ICertView2” Class is not in there.
If i type

    using CERTADMINLib;

that should be typed in order to be able to use the ICertView2, Visual Studio says to me, that it also don’t know “CERTADMINLib“.

Further i found hints on the net, that one need to register the certadm.dll beforehand, in order to make it available in Visual Studio. I tried to register the dll-File, but it doesn’t work.

If i invoke the following Command:

C:\Windows\System32>regsvr32.exe C:\Windows\System32\certadm.dll

and get a Dialogbox telling me the following:
‘Error while loading the Module “C:\Windows\System32\certadm.dll”. … The specified Module could not be found.’

The Version of certadm.dll ist “5.2.3790.3959“.
I’m using “Windows 7 Enterpise SP1”.

Can you tell me, how i’m able to register and futher make the appropriate Reference available in Visual Studio?

If i’ve forgotten further Information, please let me know, so i can add them.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T00:06:45+00:00Added an answer on June 10, 2026 at 12:06 am

    Microsoft changed much from XP to Win7. To be able to reference it you will have to tlbimp certadm.dll. Tlbimp.exe can be found in your .NET SDK’s and such. Then you will have to import this library in your .NET solution.
    Although i have to warn you, i have not mangaged to get any code working in Win7 that works in XP.

    You can also look at this link:
    http://blogs.msdn.com/b/alejacma/archive/2012/04/04/how-to-get-info-from-client-certificates-issued-by-a-ca-c-vs-2010.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My motivation for the augmentation of Object is I want to be able to
Motivation : I often want to paste the results of a quick analysis using
(Motivation: Consider a problem where you have to select a sports team from a
I understand the cultural diversity motivation behind this ICAN decision but how disruptive is
Motivation: I want to reduce the size of the page when is accessed, so
Is it possible for a C# Windows service running as Local System or Local
Having (presumably) understood the motivation behind Nuget, I want to know, whether we still
So here is my basic motivation for my question obfuscated a little: I want
Motivation From time to time I need some different colors for images used in
I am writing an API that I want to be usable from both Scala

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.