PeopleSoft Adoption Made Smooth & Simple!
On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool. Claim Your Free WalkMe Account Now
Imports System Imports System.Security.Cryptography Imports System.Security.Cryptography.X509Certificates Imports System.Text Imports System.IO Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Instantiate the Store / The store name is My, location is current user store Dim store As New X509Store("MY", StoreLocation.CurrentUser) 'Open the stor store.Open(OpenFlags.ReadWrite) 'Use the X509CertificateCollection class to get the certificates from the my store into a collection Dim collection As X509Certificate2Collection = CType(store.Certificates, X509Certificate2Collection) 'Declare x509 as the certificate object Dim x509 As New X509Certificate2 'Loop through the certificates in the store, one by one '------------ For Each x509 In collection 'Show the thumbprint for each certificate in the users store MsgBox(x509.Thumbprint) Next x509 store.Close() End Sub End Class
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Visual Basic Json to CSV Converter - Converting large json files to csv||2||86|
|Read top line from CSV file||14||57|
|SSIS - Using VB.NET to parse XML file||11||40|
|What is needed to become a DBA?||7||51|
Join the community of 500,000 technology professionals and ask your questions.