Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python 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 |
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2007 Chilkat Software, Inc. All Rights Reserved.