예제 #1
0
 public static IntPtr LoadLibrary(string fileName)
 {
     NativeLibraryHelper.LoadLibraryCallback loadLibraryCallback = new NativeLibraryHelper.LoadLibraryCallback(NativeLibraryHelper.LoadLibraryWin32);
     if (!HelperMethods.IsWindows())
     {
         loadLibraryCallback = new NativeLibraryHelper.LoadLibraryCallback(NativeLibraryHelper.LoadLibraryPosix);
     }
     return(loadLibraryCallback(fileName));
 }