Developer code samples

Download code samples and demo applications for windows and other products which uses the .Net Runtime Library for Delphi.

Search Value

type
  1. Computes a Hash-based Message Authentication Code (HMAC) by using the MD5 hash function.

    The demo shows how to sign a file by using the HMACMD5 object and then how to verify the file.

    2 Downloads | Updated 20/08/2018 | Tags , , , , ,
  1. File Encryption and Decryption in Delphi

    Demonstrates how to encrypt and decrypt any file type in Delphi using the .Net Runtime Library for Delphi.

    29 Downloads | Updated 15/05/2018 | Tags , , , , ,
  1. How to send an e-mail message asynchronously using .Net SmtpClient in Delphi

    The demo how to send an e-mail message asynchronously with the .Net SmtpClient in Delphi using the .Net Runtime Library for Delphi.

    17 Downloads | Updated 10/05/2018 | Tags , , , ,
  1. How to use .Net Reflection to Open and Close SqlConnection in Delphi

    This demo shows how to use .Net reflection in Delphi to load System.Data assembly, load and create instance of SqlConnection type, set the connectionString property of the SqlConnection and invoke the open and close method of the SqlConnection instance.


    11 Downloads | Updated 10/05/2018 | Tags , , , ,
  1. How to Read From Fixed-width Text Files in Delphi

    The demo shows how to open and read Fixed-width log file (test.log).

    6 Downloads | Updated 10/05/2018 | Tags
  1. How to read from Comma-Delimited Text Files in Delphi

    The demo shows how to read from a Comma-Delimited Text File.

    7 Downloads | Updated 10/05/2018 | Tags ,
  1. How to add, remove, and insert data in .Net generic List in Delphi.

    This demo demonstrates how you can add, remove and insert data in .Net generic List in Delphi using the .Net Runtime Library for Delphi

    18 Downloads | Updated 10/05/2018 | Tags ,
  1. Convert between types using TypeDescriptor in Delphi

    This demo shows how you can convert between types with TypeDescriptor interface in Delphi using the .Net Runtime Library for Delphi

    6 Downloads | Updated 09/05/2018 | Tags
  1. How to use .Net Array in Delphi

    Using the .Net Runtime Library for Delphi, you can create and initialize .Net array of any type in Delphi and display the content of the array.

    14 Downloads | Updated 09/05/2018 | Tags ,
  1. How to create Instance of .Net Objects

    In order to interact with .Net Objects's methods, properties, Fields and events, you need to create an instance of the object. There are several ways to Create an Instance of a .Net Object in Delphi using the .Net Runtime Library for Delphi.

    33 Downloads | Updated 07/04/2018 | Tags , , , , ,
  1. How to obtain Type and Member Information from an Assembly

    The CNClrLib.Host and CNClrLib.Core units contain many methods for obtaining information from an assembly. This section demonstrates one of these methods.

    15 Downloads | Updated 07/04/2018 | Tags , , ,
  1. How to load .Net Assemblies from Delphi

    There are several ways to load an assembly into an application domain using the .Net Runtime Library for Delphi. The recommended way is to use the static Load method of the TClrAssembly class (Declared in CNClrLib.Host unit).

    34 Downloads | Updated 07/04/2018 | Tags , , , , ,