Common Vision Blox 15.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Friends Modules Pages
Getting Started with CVB .NET

The CVB.NET API is an object-oriented wrapper for the core CVB SDK. It harmoniously integrates into the .NET API and makes leveraging the abilities of CVB for complex applications written in one of the .NET/CLR languages simple and intuitive. The CVB.NET API has been built against the .NET Framework 4.7.1, but may also be used with .NET Core - provided that no Windows-specific components have been used (e.g. the registry or WPF controls).

The CVB C-API maintains a stable application binary interface (ABI), ensuring that applications built against a specific version continue to work with newer CVB versions without requiring recompilation, as long as the interface contract remains unchanged.

Note
While the C++, .NET, and Python wrappers are not strictly bound to API stability, they are designed with a strong focus on API consistency and backward compatibility. Therefore, even in these higher-level APIs, changes are introduced carefully and in a controlled manner to maintain a stable development experience.

Prerequisites

CVB.NET API Concept

The CVB.NET API is located in your CVB installation directory under %CVB%\Lib\NET. The relevant dlls are named Stemmer.Cvb.*.dll. All classes and functions are part of the Stemmer.Cvb namespace. Additional sub-namespaces and classes are used for specific functionality.

To use the API, add a reference in your .NET project to the Stemmer.Cvb.*.dlls corresponding to the functionality you want to access.

Stemmer.Cvb.dll is the base dll and always needs to be referenced in order for more specific dlls (e.g. Stemmer.Cvb.Foundation) to work.

You can then include the Stemmer.Cvb namespace, or any of its sub-namespaces.

var devices = DeviceFactory.Discover(DiscoveryFlags.IgnoreVins);
static DiscoveryInformationList Discover()

Image Display with WPF

To display images with CVB.NET you can use WPF. For more details refer to CVB.NET - Image Display Using WPF.

Next Steps and Further Reading

CVB.NET Example Programs in CVB Installation
Code Examples
CVB.NET API Documentation
CVB Development Workflow Overview
CVB.NET - Image Display Using WPF