Initialization
Products: Video Capture SDK .Net, Video Edit SDK .Net, Media Player SDK .Net, Media Blocks SDK .Net
All SDKs contain Windows-only DirectShow-based engines (like VideoCaptureCore) and cross-platform X-engines (like VideoCaptureCoreX
).
X-engines require additional initialization and de-initialization steps.
SDK initialization and de-initialization for X-engines
To initialize SDK, use the following code:
VisioForge.Core.VisioForgeX.InitSDK();
To de-initialize SDK, use the following code:
VisioForge.Core.VisioForgeX.DestroySDK();
You need to initialize SDK before any SDK class usage and de-initialize SDK before the application exits.
Visit our GitHub page to get more code samples.