Click or drag to resize

SwissDecTX Namespace

SwissDecTX is a managed code component implementing a secure transmitter for SwissDec salary data submissions. It is fully compliant with all the security and data transmission requirements imposed by SwissDec, including digital signatures and encryption, and fully certifiable - we guarantee it. Language bindings exist for practically all common programming languages and environments through a C-callable DLL interface. A command-line interface is also provided as part of the basic package to allow transmission from shell scripts and batch files, along with a “safe for scripting” COM wrapper for scripting clients and all applications able to instantiate ActiveX COM components, such as for example VB/VBA/Access and Delphi.

An optional batch processor is available, working on top of the SwissDecTX component and implementing a file-based interface.

Together with SwissDecTX, the SwissDecTX Batch Processor can be used as a gateway allowing applications on other platforms (Unix, AS/400, Linux, Mac...) to send salary declarations to SwissDec in the simplest possible way (by writing XML declaration documents to a network share). The SwissDecTX Batch Processor is suitable for mass transmission of salary declarations and operates in a fully decoupled manner, the producing application(s) can write many XML declarations in the input folder and the SwissDecTX Batch Processor will handle them in turn, transmitting them as fast as the internet connection speed allows. Producing applications does not need to be connected to the internet at all when using the SwissDecTX Batch Processor (available separately).

This document describes the core SwissDecTX Transmitter application programming interface and is intended for developers writing application based on .NET 4.8.x or later, Access, Delphi, VB and VB.NET and C#. The C-callable layer, COM wrapper and command-line interface are described in separate documents. All existing programming interfaces call the same core functions in the transmitter.

SwissDecTX is a product of Axel Rietschin Software Developments, 36, rue de Carouge, CH-1205 Geneva, Switzerland.

Copyright © 2025 Axel Rietschin, All rights reserved. http://www.swissdectx.ch info@swissdectx.ch

Classes
 ClassDescription
Public classTransmitter5 The SwissDecTX Transmitter
Public classTransmitterUtilities5 SwissDec Transmitter
Enumerations
 EnumerationDescription
Public enumerationTransmitter5CertificateSearchMode Tell SwissDecTX how to locate the certificate, in conjunction with the search string. See SetReceiverCertificate(String, Transmitter5CertificateSearchMode) and SetTransmitterCertificate(String, Transmitter5CertificateSearchMode).