Skip to main content

Interop Class

NuGet: GHIElectronics.TinyCLR.Native
Assembly: GHIElectronics.TinyCLR.Native
Namespace: GHIElectronics.TinyCLR.Native

Represents an interop module — a native C library whose methods are callable from managed code via [MethodImpl(InternalCall)]. Use FindAll to enumerate every interop module the firmware exposes.

public sealed class Interop

Properties​

Name​

public string Name { get; }

The interop module's assembly name.

Checksum​

public uint Checksum { get; }

CRC of the module's interop table — must match the managed assembly.

Methods​

public IntPtr Methods { get; }

Pointer to the module's method-dispatch table.

Methods​

FindAll()​

public static extern Interop[] FindAll()

Returns every interop module registered with the runtime.

Returns Interop[]