C# Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CMFCDelphiFoxProJavaPerl
PHP ExtensionPHP ActiveXPythonPowerShellRubySQL ServerVBScript

C# Examples

Bounced Mail
Bz2
Character Encoding
CSV
DKIM / DomainKey
Digital Certificates
Digital Signatures
Email
Email Object
FTP
HTML Conversion
HTTP
IMAP
Encryption
MHT / HTML Email
MIME
POP3
RSA
S/MIME
SMTP
Socket
Spider
SSH
SSH Tunnel
SSH Key
SFTP
Tar Archive
Upload
XML
XMP
Zip Compression


More Examples...
Amazon S3
NTLM
FileAccess
RSS
Atom
String
Byte Array
Self-Extractor
Service
PPMD
Deflate
DH Key Exchange
DSA
Bzip2
LZW

 

 

 

 

 

 

Examine HTTP Request and Response Headers

Demonstrates how to examine the HTTP request and response headers after doing an HTTP GET (also works for POST, PUT, DELETE, etc.)

Download: Chilkat .NET Assemblies

Chilkat.Http http = new Chilkat.Http();

bool success;

//  Any string unlocks the component for the 1st 30-days.
success = http.UnlockComponent("Anything for 30-day trial");
if (success != true) {
    textBox1.Text += http.LastErrorText + "\r\n";
    return;
}

//  Send the HTTP GET and return the content in a string.
//  (cknotes.com is the Chilkat blog.)
string html;
html = http.QuickGetStr("http://www.cknotes.com/");
if (html == null ) {
    textBox1.Text += http.LastErrorText + "\r\n";
    return;
}

//  This example is about examining the request/response headers, so we're ignoring the html received...

//  Show the HTTP request header:
textBox1.Text += http.LastHeader + "\r\n";

//  Show the HTTP response header:
textBox1.Text += http.LastResponseHeader + "\r\n";


 

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

Email Component · XML Parser