FreeImage.IsAvailable Method

FreeImage.NET

FreeImageIsAvailable Method
Returns a value indicating if the FreeImage library is available or not. See remarks for further details.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static bool IsAvailable()

Return Value

Type: Boolean
false if the file is not available or out of date; true, otherwise.
Remarks
The FreeImage.NET library is a wrapper for the native C++ library (FreeImage.dll ... dont mix ist up with this library FreeImageNet.dll). The native library must be either in the same folder as the program's executable or in a folder contained in the envirent variable PATH (for example %WINDIR%\System32).

Further more must both libraries, including the program itself, be the same architecture (x86 or x64).

See Also