Unmanaged |
public abstract class UnmanagedLibrary
The UnmanagedLibrary type exposes the following members.
| Name | Description | |
|---|---|---|
| UnmanagedLibrary | Constructs a new UnmanagedLibrary. |
| Name | Description | |
|---|---|---|
| DefaultLibraryName | Gets the default name of the unmanaged library DLL. This is dependent based on the platform extension and name prefix. Additional names can be set in the UnmanagedLibraryResolver (e.g. to load versioned DLLs) | |
| Is64Bit | Queries if the OS is 64-bit, if false then it is 32-bit. | |
| IsLibraryLoaded | Queries if the unmanaged library has been loaded or not. | |
| LibraryPath | Gets the path to the unmanaged library DLL that is currently loaded. | |
| Resolver | Gets the resolver used to find the unmanaged library DLL when loading. | |
| ThrowOnLoadFailure | Gets or sets whether an AssimpException is thrown if the unmanaged DLL fails to load for whatever reason. By default this is true. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| FreeLibrary | Frees the unmanaged library that is currently loaded. | |
| GetFunctionT | Gets a delegate based on the unmanaged function name. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetPlatform | Gets an enum representing the current OS that is application is executing on. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| LoadIfNotLoaded | If library is not explicitly loaded by user, call this when trying to call an unmanaged function to load the unmanaged library from the default path. This function is thread safe. | |
| LoadLibrary | Loads the unmanaged library using the UnmanagedLibraryResolver. | |
| LoadLibrary(String) | Loads the unmanaged library using the supplied path. | |
| LoadLibrary(String, String) | Loads the unmanaged library using the supplied 32 and 64 bit paths, the one chosen is based on the OS bitness. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| OnLibraryFreed | Called when the library is freed. | |
| OnLibraryLoaded | Called when the library is loaded. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| LibraryFreed | Occurs when the unmanaged library is freed. | |
| LibraryLoaded | Occurs when the unmanaged library is loaded. |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |