SecureBridge includes demo projects that show off the main SecureBridge functionality and development patterns.

 

Where are the SecureBridge demo projects located?

All the SecureBridge demo projects are located in "%Public Documents%\Devart\SecureBridge for XX\Demos", for example: "c:\Users\Public\Documents\Devart\SecureBridge for RAD Studio 13\Demos\".

The structure of the demo project directory depends on the IDE version you are using.

 

Instructions for using the SecureBridge demo projects

To explore an SecureBridge demo project,

1. Launch your IDE.

 

2. In your IDE, choose File | Open Project from the menu bar.

 

3.Find the Demos folder of SecureBridge.

 

4.Browse through the demo project folders located here and open the project file of the demo you would like to use.

 

5.Compile and launch the demo. If it exists, consult the Readme.html file for more details.

 

Demo project descriptions

 

Name

Description

FTPClient

An example of a simple FTP client using the basic functions of the TScFTPClient component. 

Indy10

This demo project represents a the TScIdIOHandler component for providing integration with Indy components version 10. SecureBridge installation wizard installs it for Delphi 10 and higher IDE versions if the "Indy Components" item is checked on the "Select Components" step of the installation. If your IDE has Indy9 installed, and Indy integration is needed, just uncheck "Indy Components" when installing and install TScIdIOHandler from the Indy9 directory.

Indy9

This demo is an equivalent to the Indy10 demo, except it supports Indy components version 9, and is automatically installed for Delphi 7.

SFTPClient

Uses the TScSFTPClient component for secure file transfer with remote machine. This demo allows to execute basic operations with files such as downloading, uploading files, creating and deleting directories, viewing the directory tree.

SSHClient

Uses the TScSSHClient component for establishing connection to an SSH server. Demonstrates organizing port forwarding with the TScSSHChannel component (see. SSH-tunnel principles).

SSHServer

Use the TScSSHServer component for building a full-blown SSH server. Demonstrates working with a user list, generating new keys that are used for authenticating when client connects to server.

SSHServerService

This is one more full-blown SSH server, but it does not have graphic interface and does not provide key and user management tools like SSHServer demo does. This demo is intended to work as a Windows service. Take a look at the Readme file in the demo directory for some additional information.

OAuth2

Demonstrates the use of the TScOAuth2 component for authorization on various services.

WebRequest

Showcases a helpful REST API demo that involves the TScHttpWebRequest component and illustrates the use of POST and GET requests with authorization.

SMTPClient

Illustrates common mail operations using the TScSMTPClient component.

CBuilder

Specifies the C++Builder version of the SSHClient demo. Uses the TScSSHClient component to connect to an SSH server with password, public key, or keyboard-interactive authentication, generate and import keys through TScFileStorage, and set up local port forwarding with the TScSSHChannel component.

CMSProcessor

Demonstrates the TScCMSProcessor component for protecting arbitrary data with the Cryptographic Message Syntax (CMS/PKCS#7). Shows how to use TScFileStorage to store certificates and private keys used for the operations.

Encryptor

Illustrates symmetric encryption with the TScSymmetricEncryptor component. Demonstrates encryption and decryption of either text strings or files.

HttpServer

Uses the TScHttpServer component to build a standalone HTTP/HTTPS server. Shows how to require and validate client certificates, handle static files and multipart uploads, and dispatch /api/ calls to a sample REST API with token-based login so that the demo can be used as the server side for the RestClient demo.

RestClient

Showcases the TScRestClient and TScRestRequest components for consuming REST services. Demonstrates how to configure a base URL and several named requests, bearer-token authorization via TScRestBearerAuthenticator, URL and query parameters, JSON request bodies, multipart file upload, parsing responses with TJSONDeserializer, request logging using client events, and an application-level response cache. Works against the HttpServer demo as well as against a public REST service.

SignalR

Demonstrates the TScHubConnection component for working with ASP.NET Core SignalR hubs. A simple chat client registers handlers for the hub's Send, Connected, and Disconnected methods, starts the connection, and invokes hub methods to exchange messages and maintain the list of connected users. The demo contains a Delphi/C++Builder client and an ASP.NET Core SignalR chat server to which the clients connect.

SimpleSSHServer

Demonstrates a compact SSH server built on the TScSSHServer component with a TScSFTPServer attached to provide the SFTP subsystem. This is a simplified version of SSHServer; it includes only a single settings page instead of full-featured management of keys, users, and security.

SSHClientApp

Demonstrates a full-featured SSH client application. The TScSSHClient component establishes a connection using the password, public key, or keyboard-interactive authentication and validates the server host key; TScSFTPClient provides a remote file browser with file listing, uploading, downloading, creating, renaming, deleting, and viewing files; TScSSHShell executes commands in an interactive remote shell. It also demonstrates local and remote port forwarding with per-channel event logging.

SSLServer

Demonstrates the TScSSLServer and TScSSLClient components for exchanging data over a raw TLS connection.

WebSocketClient

Uses the TScWebSocketClient component to connect to a WebSocket (ws/wss) endpoint. Shows how to open and close the connection, track its state, send text messages and binary data read from a file, and handle incoming text and binary frames.

 

Note, there is the Base directory among the demo directories. This directory does not contain a demo, it contains a common engine for some of demos. You should not remove this directory or files in it. If you do that, some of demos will not compile and work.

SecureBridge Components, Copyright © 2007-2026 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support