C# Class FoundationDB.Client.Native.UnmanagedLibrary

Native Library Loader
Inheritance: IDisposable
Mostrar archivo Open project: BedeGaming/foundationdb-dotnet-client Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Call FreeLibrary on the unmanaged dll. All function pointers handed out from this class become invalid after this.

This is very dangerous because it suddenly invalidate everything retrieved from this dll. This includes any functions handed out via GetProcAddress, and potentially any objects returned from those functions (which may have an implemention in the dll).///

Private Methods

Method Description
Load ( string path ) : UnmanagedLibrary
UnmanagedLibrary ( SafeLibraryHandle handle, string path ) : JetBrains.Annotations

Constructor to load a dll and be responible for freeing it.

Method Details

Dispose() public method

Call FreeLibrary on the unmanaged dll. All function pointers handed out from this class become invalid after this.
This is very dangerous because it suddenly invalidate everything retrieved from this dll. This includes any functions handed out via GetProcAddress, and potentially any objects returned from those functions (which may have an implemention in the dll).///
public Dispose ( ) : void
return void