Click or drag to resize

Application Class

Manager class for Zivid cameras.
Inheritance Hierarchy
SystemObject
  Zivid.NETApplication

Namespace:  Zivid.NET
Assembly:  ZividCoreNET (in ZividCoreNET.dll) Version: 0.0.0.0
Syntax
public class Application : IDisposable

The Application type exposes the following members.

Constructors
  NameDescription
Public methodApplication
Initializes a new instance of the Application class
Top
Properties
  NameDescription
Public propertyCameras
Public propertyComputeDevice
The compute device used by the Application
Top
Methods
  NameDescription
Public methodConnectCamera
Connect to the next available Zivid camera
Public methodConnectCamera(String)
Connect to the Zivid camera with the specified serial number
Public methodCreateFileCamera
Create a virtual camera to simulate Zivid measurements by reading data from a file
Public methodDispose
Releases all resources used by the Application
Top
Remarks
The `Application` class manages resources used by the Zivid SDK. These resources will not be released until you manually invoke `Dispose()` (or use `using`). It is required to have one instance of this class alive while using the SDK. Using any part of the SDK without a live `Application` is undefined behavior. It is not possible to have more than one `Application` instance at a time. Creating a second `Application` instance before the first `Application` instance has been manually disposed will trigger an exception. All objects (cameras, frames, etc.) from the previous `Application` instance must be disposed before a new instance can be created.
See Also