Chilkat v11.1.0 Release Notes

Previous Version: Chilkat v11.0.0 Release Notes Regular Expressions: Added PCRE2 (Perl Compatible Regular Expressions, version 2) regular expression capabilities to the StringBuilder class in the RegexMatch and RegexReplace methods.This is the first time Chilkat is utilizing third-party open-source software by incorporating PCRE2, which can be found at https://github.com/PCRE2Project/pcre2. Due to the Exemption for Binary Library-Like Packages, applications using Chilkat do […]

Chilkat v11.0.0 ActiveX Object Creation

Starting in Chilkat v11.0.0, applications using CreateObject (or similar) should pass an identifier beginning with “Chilkat.”.   If your application uses “Chilkat_9_5_0.”, then strings must be updated to use “Chilkat.”.  For example: The reference documentation web page for each Chilkat ActiveX object shows the object creation statements for various programming languages.  For example: (ASP) set obj = Server.CreateObject(“Chilkat.Http”) (AutoIt) $obj = […]

Chilkat v11.0.0 Release Notes

Next Version: Chilkat v11.1.0 Release Notes Previous Version: Chilkat v10.1.3 Release Notes Backward Compatibility: This is a major version release that includes some backward incompatible changes. The web pages at Chilkat v11.0.0 Backward Incompatible Changes provide details. New Methods and Properties: There are a many new methods and properties that have been added. Almost all are in one of the […]

Chilkat v10.1.3 Release Notes

Next Version: Chilkat v11.0.0 Release Notes Previous Version: Chilkat v10.1.2 Release Notes This minor release was made shortly after v10.1.2, mainly to fix the Email FROM header bug introduced in v10.1.2. Socket: Added the GetAdaptersAddresses method to get the local LAN IP address and MAC address for each network adapter. Email: Fixed a problem relating to quoted-printable FROM names in […]

Crypt2.SetEncodedKey – Help! I Passed a non-Hex String but Told Chilkat it was Hex

You made a mistake and set an AES encryption key in the wrong way like this: Chilkat.Crypt2 crypt = new Chilkat.Crypt2(); crypt.KeyLength = 256; crypt.CryptAlgorithm = “aes”; // This is the error. We passed base64 (or anything that is NOT a hexidecimal string) // And then asked Chilkat to decode it as hex. crypt.SetEncodedKey(“rZFNAfY7CirLtWxKiRU187k9mqcGCBZnV4QrmBvsboE”,”hex”); And then we proceeded to encrypt […]

Chilkat v10.1.2 Release Notes

Next Version: Chilkat v10.1.3 Release Notes Previous Version: Chilkat v10.1.0 Release Notes XmlDSigGen: In v10.0.0 Chilkat started automatically using and fixing for SigningCertificateV2 for cases where the xmlns:xades=”http://uri.etsi.org/01903/v1.3.2#” (and also v1.4.1 and v1.4.2), which is technically correct. However many govt validators, specifically Poland, Saudia Arabia, and others, reject XML signatures using SigningCertificateV2. Chilkat backed out this “fix” and will revisit […]

Using a .nupkg for Temporary Development Use

To add a reference to a “.nupkg” file (a NuGet package) in a .NET 6.0 project, you can follow these steps: Option 1: Add the .nupkg File to a Local NuGet Source Create a Local NuGet Source: Place your “.nupkg” file in a folder, e.g., “C:\NuGetPackages”. Configure the Local Source in NuGet: Open a terminal or command prompt and run: […]

Be Careful when Using non-us-ascii String Literals in Source Code

When using non-US-ASCII literal strings (e.g., accented characters like “é”, “ü”, or symbols from other scripts like “你好”) in source code, it’s crucial to handle them carefully due to potential issues with encoding, interpretation, and compatibility. Here’s an explanation of key considerations: 1. Source Code File Encoding Encoding Matters: The source code file must be saved in an encoding that […]

RSA Encryption Maximum Number of Bytes

The maximum number of bytes you can encrypt using RSA depends on the key size and the padding scheme. 1. Key Size The RSA key size determines the maximum size of the plaintext that can be encrypted. The larger the key size (e.g., 1024, 2048, 4096 bits), the larger the block of plaintext that can be encrypted. However, the actual […]