NativeMessageBox exposes a small but useful diagnostic surface for startup and production issues.
| API | Purpose |
|---|---|
| RegisterLogHandler(Action<String>?) | Receive native runtime log messages |
| RegisterNativeLibraryPath(String) | Add custom probing directories |
| EnsureInitialized() | Force runtime initialization early |
| VerifyAbiCompatibility() | Check that the managed layer can talk to the loaded native runtime |
EnsureInitialized during startup if you want failures to surface before the first user dialog.VerifyAbiCompatibility in diagnostics or support builds.