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 SourceAdditionalPaths
Additional user-defined DLL paths
Declaration
public List<string> AdditionalPaths { get; }
Property Value
Type | Description |
---|---|
List<System.String> |
Instance
Declaration
public static WindowsLibraryLoader Instance { get; }
Property Value
Type | Description |
---|---|
WindowsLibraryLoader |
Methods
| Improve this Doc View SourceIsCurrentPlatformSupported()
Determine if the OS is Windows
Declaration
public static bool IsCurrentPlatformSupported()
Returns
Type | Description |
---|---|
System.Boolean |
IsDotNetCore()
Determine if the runtime is .NET Core
Declaration
public static bool IsDotNetCore()
Returns
Type | Description |
---|---|
System.Boolean |
IsLibraryLoaded(String)
Declaration
public bool IsLibraryLoaded(string dllName)
Parameters
Type | Name | Description |
---|---|---|
System.String | dllName |
Returns
Type | Description |
---|---|
System.Boolean |
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 |