Scalien.NativeLoader.TryLoadDLL C# (CSharp) Method

TryLoadDLL() static private method

static private TryLoadDLL ( string dllPath ) : bool
dllPath string
return bool
        static bool TryLoadDLL(string dllPath)
        {
            IntPtr dllHandle = NativeMethods.LoadLibrary(dllPath);
            if (dllHandle != IntPtr.Zero)
            {
                //handle = new SafeDLLHandle(dllHandle, dllPath);
                return true;
            }

            return false;
        }