/// <summary> /// Releases the native library handle. /// </summary> /// <returns><see langword="true"/> if the library was released, otherwise <see langword="false"/>.</returns> /// <remarks>The handle is released by calling the FreeLibrary API.</remarks> protected override bool ReleaseHandle() { bool free = NativeMethods.FreeLibrary(this.handle); return(free); }