Initialize HiAPI at Application Entry Point
At the application entry point, you need to initialize HiAPI and set the exiting event.
- <xref:Hi.HiNcKits.LocalApp.AppBegin()>
- <xref:Hi.HiNcKits.LocalApp.AppEnd()>
Important
Regardless of whether you use the DI-based version or the legacy flow, you must call LocalApp.AppBegin() at application startup and LocalApp.AppEnd() on shutdown to initialize and release licensing, display engine, and background resources.