Manager class for Zivid cameras.
Inheritance Hierarchy SystemObject
Zivid.NETApplication
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 2.14.0.0
Syntax public class Application : IDisposable
Public Class Application
Implements IDisposable
public ref class Application : IDisposable
The Application type exposes the following members.
Constructors
| Name | Description |
---|
| Application | Initializes a new instance of the Application class |
TopProperties Methods
| Name | Description |
---|
| ConnectCamera | Connect to the next available Zivid camera |
| ConnectCamera(String) | Connect to the Zivid camera with the specified serial number |
| CreateFileCamera | Create a virtual camera to simulate Zivid measurements by reading data from a file |
| Dispose | Releases all resources used by the Application |
| ToString | Get string representation of the application (Overrides ObjectToString.) |
TopRemarks
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