Load and redistribute the SDK
Ship the platform libraries, the binding your application uses, and the third-party notices supplied in the archive. Load the library from your application's installed location. Pass its absolute path when loading dynamically. Match the process architecture, including the architecture of your Python or .NET runtime.
| Platform | ST 0601 library | Raw KLV library | Loading a linked application |
|---|---|---|---|
| Windows x64 | misb0601.dll | libmisb.dll | Place the DLL beside the executable. For MSVC, generate an import library with lib /def:lib/misb0601.def /machine:x64 /out:lib/misb0601.lib. |
| Linux x64 | misb0601.so | libmisb.so | For colocated libraries use the linker flag -Wl,-rpath,'$ORIGIN'. |
| macOS arm64 | misb0601.dylib | libmisb.dylib | For colocated libraries use -Wl,-rpath,@loader_path. |
Keep the originating runtime loaded until all of its buffers, result objects and streams have been released. Windows keeps the Go runtime mapped for the process lifetime; disposing a wrapper and shutting down the license still release its owned resources.
For a web deployment keep the ES modules, decoder.wasm, and notices together. Serve modules as text/javascript and the binary as application/wasm. Use a URL or byte array in the loader's wasm option if you relocate the binary. See activation for distributing the appropriate token.