Quantcast
Channel: Chilkat Tech Notes
Browsing all 415 articles
Browse latest View live

Types of Smartcard PINs

Smartcards use various types of PINs (Personal Identification Numbers) for authentication and security purposes. Some common types of PINs associated with smartcards are: User PIN: The User PIN is the...

View Article


Solving CryptoCard Graphite Plus Smart Card Signing Problems

Information about the CryptoCard Graphite Plus smartcard is located at https://www.cryptotech.com.pl/Produkty/CryptoCard_Graphite,content.html “The card works closely with the new edition of the...

View Article


What to do if Chilkat.Cert.LoadFromSmartcard Fails?

Here are the initial steps to follow to determine the reason why LoadFromSmartcard failed. Make sure to set the Cert,SmartCardPin property prior to calling LoadFromSmartcard. Make sure you are using...

View Article

Office 365 IMAP, POP, SMTP OAuth2 with Client Credentials

See https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth#use-client-credentials-grant-flow In my opinion, this is...

View Article

New Example for Paraguay E-Invoicing (SIFEN)

See this new example for signing XML E-invoices for Paraguay — SISTEMA INTEGRADO DE FACTURACIÓN ELECTRÓNICA NACIONAL (SIFEN). AutoIt Paraguay eInvoice XML Digital Signature C Paraguay eInvoice XML...

View Article


HMAC SHA1 of Byte Array in “C” Programming Language

Here is a “C” programming language code snippet compute the HMAC SHA1 using byte arrays. void demonstrate_hmac_sha1_binary_bytes() { unsigned char key[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,...

View Article

Use CURL to Chilkat Source Code Generator

Question According to the Sonar API documentation at https://docs.sonar.expert/system/api-calls-using-third-party-applications-personal-access-tokens, this is an example of how to run a query to their...

View Article

Image may be NSFW.
Clik here to view.

Using Microsoft Graph API HTTP Request/Response Documentation to Generate Code

This blog post describes how to use the raw HTTP request/response samples provided in the Microsoft Graph API documentation to generate Chilkat source code in your chosen programming language. First,...

View Article


Helping with old programming environments where string lengths are limited,...

Many Chilkat methods have string arguments, and return strings. In some cases, the strings can be long. There are older programming environments such as Microsoft Navision, SQL Server, and others where...

View Article


Create JWT using EdDSA (Ed25519) Private Key

Chilkat added the ability to create JWT’s using Ed25519 private keys. See: AutoIt Create JWT Using Ed25519 Private Key (EdDSA) C Create JWT Using Ed25519 Private Key (EdDSA) Python Create JWT Using...

View Article

Chilkat C++ Class Thread Safety

Are Chilkat C++ classes thread safe? Should I use a guard, such as a mutex, in multi-threaded code? Answer: Yes, Chilkat C++ classes are thread-safe, meaning they can be safely used in a multi-threaded...

View Article

Office365 SMTP: 535 5.7.139 Authentication unsuccessful,...

This blog post is about the following error encountered when trying to send email via Chilkat.MailMan.SendEmail (using the SMTP protocol). smtpAuthenticate: smtp_host: smtp.office365.com smtp_port: 587...

View Article

How to Send an HTTPS GET Request with “Authorization: Bearer ” Header

Question: I’m using VB6. Can you tell me how I would use your software to duplicate this VB6 code snippet? I can’t seem to find a way to set headers, use OPEN or SEND. Any help would be appreciated. '...

View Article


Clarifying the Desktop Application OAuth2 Flow

To clarify further: When your desktop application (or script) calls Chilkat.OAuth2.StartAuth, two things happen: It returns a URL that you need to open in a web browser to obtain authorization...

View Article

BCC Email Addresses Should Never be in “BCC” MIME Headers

In the context of email communication, the BCC (Blind Carbon Copy) field is used to send a copy of an email to recipients without revealing their addresses to other recipients. When it comes to the...

View Article


New Example Showing How to Process a Multipart/Report Email

AutoIt How to Process a Multipart/Report Email C How to Process a Multipart/Report Email Python How to Process a Multipart/Report Email C++ How to Process a Multipart/Report Email C# How to Process a...

View Article

How to get the Version of Chilkat at Runtime

Most Chilkat classes include a Version property. To find the version of Chilkat, such as “9.5.0.94”, instantiate the object and examine the Version property. AutoIt How to get the Version of Chilkat at...

View Article


Image may be NSFW.
Clik here to view.

Delphi Error: Undeclared identifier ‘TChilkatGlobal’

See the “Quick Start” instructions here:   https://www.chilkatsoft.com/delphiDll.asp The Chilkat distribution contains Delphi .pas source files, one for each Chilkat class. For each Chilkat class used,...

View Article

ASP VBscript and Office365 OAuth2 Access Token

The Chilkat.OAuth2 class is designed for desktop applications, not server-side web applications. To explain further: The call to OAuth2.StartAuth does 2 things: Returns a URL you’ll open in a browser...

View Article

Email “FROM” MIME Header Field vs “MAIL FROM” Command in SMTP Session

In the SMTP (Simple Mail Transfer Protocol) protocol, the “FROM” header field and the “MAIL FROM” command in the SMTP session serve different purposes and play distinct roles in the process of sending...

View Article
Browsing all 415 articles
Browse latest View live