Download code samples and demo applications for windows and other products which uses the .Net Runtime Library for Delphi.
This demo demonstrates how to generate a report that was created in rdl format, from a Delphi application without using SSRS server.
The demo illustrates the use of a regular expression to check whether a string either represents a currency value or has the correct format to represent a currency value.
The following demo shows how to create a WebRequest instance and return the response.
The following demo computes the MD5 hash value of a string and returns the hash as a 32-character, hexadecimal-formatted string.
The demo example takes the URI of a resource, retrieves it, and displays the response using .Net WebClient.
The demo shows how to use the ECDsaCng class to sign a message and how to use the signature to verify that the message has not been altered.
The demo shows how to sign a file by using the HMACMD5 object and then how to verify the file.
This demo demonstrates how to host WPF Composite Control packaged into a .Net library in Delphi using the .Net Runtime Library for Delphi TClrContainer component.
The demo how to send an e-mail message asynchronously with the .Net SmtpClient in Delphi using the .Net Runtime Library for 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.
This demo shows how to use the Computer interface object to display the computer information such as the name of the computer, the local time, the GMT time, the total physical memory, the OS Fullname, OS Version etc on which the code runs.
This demo shows how to host DataGridView control, load data from a dataset and display the data in the datagridview.
The CNClrLib.Host and CNClrLib.Core units contain many methods for obtaining information from an assembly. This section demonstrates one of these methods.
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).
The following segment of codes create a Delphi version of the traditional "Hello World!" program using the .Net Runtime Library for Delphi. The program displays the string Hello World!