VB.NET Examples

ChilkatHOMEASPVisual BasicVB.NETC#Visual C++CMFCDelphiFoxProJavaPerlPHPPythonRubySQL ServerVBScript



VB.NET Examples

Bounced Mail
Character Encoding
Digital Certificates
Digital Signatures
Email
FTP
HTML to XML
HTTP
IMAP
Encryption
MHT / HTML Email
PFX
RSA Encryption
S/MIME
Socket
Spider
Tar Archive
Upload
XML
XMP
Zip Compression
Misc

More Examples...
Email Object
POP3
SMTP
RSS
Atom
Self-Extractor

Byte Array
VB.NET FTPS
System.IO

Unreleased...
Service
PPMD
Deflate
Bzip2
LZW
Bz2
DH Key Exchange
DSA
Icon

 

 

 

 

 

 

Export Digital Certificate to .cer File

This example code demonstrates how to find a certificate based on an email address and save it to a .cer file.

        ' Find a certificate from the current-user certificate store and
        ' save it to a .cer file.
        Dim ccs As New Chilkat.CreateCS()
        Dim certStore As Chilkat.CertStore
        Dim cert As Chilkat.Cert

        certStore = ccs.OpenCurrentUserStore()
        cert = certStore.FindCertBySubjectE("admin@tagtooga.com")
        cert.SaveToFile("tagtooga.cer")
        MessageBox.Show("Finished!")





 

Need a specific example? Send a request to support@chilkatsoft.com

© 2000-2007 Chilkat Software, Inc. All Rights Reserved.

Mail Component · XML Parser