Show / Hide Table of Contents

Class WindowsLibraryLoader

Handles loading embedded dlls into memory, based on http://stackoverflow.com/questions/666799/embedding-unmanaged-dll-into-a-managed-c-sharp-dll.

Inheritance
System.Object
WindowsLibraryLoader
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OpenCvSharp.Internal
Assembly: OpenCvSharp.dll
Syntax
public sealed class WindowsLibraryLoader
Remarks

This code is based on https://github.com/charlesw/tesseract

Properties

| Improve this Doc View Source

AdditionalPaths

Additional user-defined DLL paths

Declaration
public List<string> AdditionalPaths { get; }
Property Value
Type Description
List<System.String>
| Improve this Doc View Source

Instance

Declaration
public static WindowsLibraryLoader Instance { get; }
Property Value
Type Description
WindowsLibraryLoader

Methods

| Improve this Doc View Source

IsCurrentPlatformSupported()

Determine if the OS is Windows

Declaration
public static bool IsCurrentPlatformSupported()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsDotNetCore()

Determine if the runtime is .NET Core

Declaration
public static bool IsDotNetCore()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsLibraryLoaded(String)

Declaration
public bool IsLibraryLoaded(string dllName)
Parameters
Type Name Description
System.String dllName
Returns
Type Description
System.Boolean
| Improve this Doc View Source

LoadLibrary(String, Nullable<IEnumerable<String>>)

Declaration
public void LoadLibrary(string dllName, IEnumerable<string>? additionalPaths = null)
Parameters
Type Name Description
System.String dllName
System.Nullable<IEnumerable<System.String>> additionalPaths
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX