Skip to content

libcURL.IsAvailable

Andrew Lambert edited this page Nov 26, 2022 · 19 revisions

libcURL.IsAvailable

Method Signature

 Protected Function IsAvailable() As Boolean

Return value

Returns True if libcURL is available at runtime. If libcURL (or a library it depends upon) is not available or does not meet the minimum version then this method returns False.

Remarks

Versions before 7.21.7 will function with degraded features. The recommended minimum version is 7.33.0.

Versions of libcURL before 7.15.2 are not supported, and will raise a PlatformNotSupportedException when used just as though libcURL were not installed at all. Prior to this version, libcURL required that the global initialization and cleanup functions be called exactly once each. This project aims to minimize the number of calls to these functions, but it does not guarantee that they are called only once each.

Features known to have been introduced after 7.15.2 are protected by calls to libcURL.Version.IsAtLeast; a failed version check will raise a cURLException with error number libcURL.Errors.FEATURE_UNAVAILABLE when the feature is first accessed.

See also

Clone this wiki locally