Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to identify is a certificate is in a smart card?

How to identify is a certificate is in a smart card?

Scheduled Pinned Locked Moved C#
csharpcryptographytutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sunil P V
    wrote on last edited by
    #1

    Hi All, How can we determine if a user-certificate is contained in a smartcard or if it is installed in the system itself? I wasn't able to find a .NET class that does this? Thanks in advance...

    Sunil

    R G 2 Replies Last reply
    0
    • S Sunil P V

      Hi All, How can we determine if a user-certificate is contained in a smartcard or if it is installed in the system itself? I wasn't able to find a .NET class that does this? Thanks in advance...

      Sunil

      R Offline
      R Offline
      Rajesh Anuhya
      wrote on last edited by
      #2

      There is no inbuilt class for smart card in .net , you have to use winscard.dll wrapper . go through the below link in CP A Smart Card Framework for .NET[^]

      Rajesh B --> A Poor Workman Blames His Tools <--

      1 Reply Last reply
      0
      • S Sunil P V

        Hi All, How can we determine if a user-certificate is contained in a smartcard or if it is installed in the system itself? I wasn't able to find a .NET class that does this? Thanks in advance...

        Sunil

        G Offline
        G Offline
        Goutam Patra
        wrote on last edited by
        #3

        As much as i know even if a certificate comes in a card then also it has to be installed in your personal store. While reading the cetificate you need to insert the smart token in order to execute ComputeSignature. And if you set the silent parameter to false while using ComputeSignature it will automatically reads the card and asks for password for the certificate (if any).

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups