Skip to main content
Version: 1.x

Class OdinLibrary

Main lib entry class

Declaration
public static class OdinLibrary

Properties​

IsInitialized​

Indicates whether or not the native ODIN runtime has been loaded and initialized

Declaration
public static bool IsInitialized { get; }

NativeBinary​

Location of the native ODIN runtime binary

Declaration
public static string NativeBinary { get; }

Platform​

Platform the library is running on

Declaration
public static SupportedPlatform Platform { get; }

Methods​

Initialize()​

Initializes the native ODIN runtime

Declaration
public static void Initialize()

Initialize(OdinLibraryParameters)​

Creates a new OdinNative.Core.OdinLibrary-Instance

Declaration
public static void Initialize(OdinLibraryParameters parameters)
Parameters​
TypeNameDescription
OdinNative.Core.OdinLibraryParametersparametersInformation used to create the instance
Exceptions​

System.InvalidOperationException
a OdinNative.Core.OdinLibrary is already created System.NullReferenceException
parameters is null

Release()​

Releases the unmanaged resources used by the OdinNative.Core.OdinLibrary-Instance

Declaration
public static void Release()