Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Visual C# programmers can choose between two APIs in the Diva SDK

  • Diva Component API

  • Diva API for .Net

Diva Component API 

The Diva Component API is a COM-based, object-oriented abstraction of the underlying Diva API.

  • Implemented in DivaSDK.dll

  • Adding a reference to this DLL in your Visual Studio project gives Intellisense support within the editor, just like a .Net namespace

  • The 'Interop' DLL that interfaces to .Net is automatically created for you when you add the reference to DivaSDK.dll to your project

  • The Component API is simpler to use than the API for .Net

  • The Component API includes powerful functions such as Conferencing and Call Transfer

  • The Component API allows access to low-level call-control and media-handling though DivaCPT properties

  • Only a few applications are not recommended for the Component API, the most significant of which are passive monitoring and recording and handling many channels of voice or fax streams as raw data. For applications like these, we recommend using the AudioProvider model.

Diva API for .Net 

The Diva API for .Net is a managed wrapper for the underlying Diva API for C/C++.

  • Implemented in DivaServer.dll and DivaServer.Framework namespaces

  • Everything in the underlying Diva API is available from .Net managed code

More information on the API for .Net

  • Sample Diva API for .Net programs in C#:

    • AnsweringMachine -

    • BatchFax -

    • DTMFMenu -

    • FaxIn -

Please contact sangoma pre-sales representative (through your local sales office) if you require advice on which API is most appropriate for your C# application. 

  • No labels