Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
Find a Certificate by Email Address
VB.NET example program to Find a Certificate by Email Address ' Create a certificate store factory object
Dim ccs As New Chilkat.CreateCS()
' Open the local machine certificate store.
Dim cstore As Chilkat.CertStore
cstore = ccs.OpenLocalSystemStore()
' Find the certificate matching "matt@chilkatsoft.com"
Dim cert As Chilkat.Cert
cert = cstore.FindCertBySubjectE("matt@chilkatsoft.com")
If Not (cert Is Nothing) Then
MsgBox("Found certificate: " & cert.SubjectDN)
Else
MsgBox("Certificate not found!")
End If
Important: The download for this
example does not contain the ChilkatDotNet.dll which |
© 2000-2012 Chilkat Software, Inc. All Rights Reserved.