iOS: Preparing your Apps for IPv6

Chilkat classes that communicate over TCP/TLS include a property named PreferIpv6. This should be set to YES/true to tell Chilkat to use IPv6 when possible. (If the underlying DNS resolution provides both IPv4 and IPv6 choices, then Chilkat will by default choose the IPv4 address. To tell Chilkat to choose the IPv6 choice, set the PreferIpv6 property equal to YES/true.) […]

The .NET Assembly “Incorrect Format” Error

If you get this error in a Windows Forms project… Look in your Project–>Properties (ALT+F7) and go to the “Build” tab. You’ll see the “Platform target” – If it’s set to “x64”, then make sure you reference the 64-bit Chilkat assembly. – If it’s set to “x86”, then make sure you reference the 32-bit Chilkat assembly. – If it’s set […]

C Language Callbacks

This example demonstrates the general pattern for implementing some standard event callbacks functions for the Chilkat “C” API.  All Chilkat “classes” what have events will use the standard Chilkat events shown in the example below (AbortCheck, PercentDone, and ProgressInfo). This example demonstrates callbacks for an SFTP download, but the same technique applies to any other Chilkat “class”, such as HTTP, […]

v9.5.0.56 Update: New Features, Fixes, Changes, etc.

Stream: Added a Stream class to be utilized more heavily in the future. StreamConnector: Added the StreamConnector class for .NET to allow for System.IO.Stream’s to be used with Chilkat.Stream. See http://www.example-code.com/csharp/stream_connector_cs.asp Crypt2: Added the EncryptStream and DecryptStream methods. Compression: Added the CompressStream and DecompressStream methods. JSON: Added the JsonObject and JsonArray classes. Zip: Memory leak fixed. Ruby: Added Ruby 2.3 […]

C# SFTP Upload from Byte[]

This example demonstrates how to open a remote file on an SSH/SFTP server, write to the file, and then close it. This is analogous to opening a local file, writing to it, and closing it. The SFTP protocol (i.e. Secure File Transfer over SSH), follows the same concepts as typical file I/O programming — i.e. open a file, read, write, […]

v9.5.0.55 Update: New Features, Fixes, Changes, etc.

Crypt2: Added the chacha20 and Poly1305 Message Authentication Code. Crypt2: Added AES GCM encryption. Zip: Fixed a problem with OpenZipAsync where the 1st call would succeed, but subsequent calls would fail. Email: Email.SaveXml did not save BCC recipients. Crypt2 (blowfish): When Chilkat originally implemented blowfish (more than 10 years ago), there was a problem having to do with byte-ordering. The […]