internal VersionInfoData(CURLversion ver) { m_pVersionInfoData = External.curl_version_info(ver); }
/// <summary> /// Get a <see cref="VersionInfoData"/> object. /// </summary> /// <param name="ver">Specify a <see cref="CURLversion"/>, such as /// <c>CURLversion.CURLVERSION_NOW</c>.</param> /// <returns>A <see cref="VersionInfoData"/> object.</returns> /// <exception cref="System.InvalidOperationException"> /// Thrown if cURL isn't properly initialized.</exception> public static VersionInfoData GetVersionInfo(CURLversion ver) { EnsureCurl(); return new VersionInfoData(ver); }
/// <summary> /// Get a <see cref="VersionInfoData"/> object. /// </summary> /// <param name="ver">Specify a <see cref="CURLversion"/>, such as /// <c>CURLversion.CURLVERSION_NOW</c>.</param> /// <returns>A <see cref="VersionInfoData"/> object.</returns> /// <exception cref="System.InvalidOperationException"> /// Thrown if cURL isn't properly initialized.</exception> public static VersionInfoData GetVersionInfo(CURLversion ver) { EnsureCurl(); return(new VersionInfoData(ver)); }
internal VersionInfoData(CURLversion ver) { m_pVersionInfoData = External.curl_version_info(ver); }
internal static extern IntPtr curl_version_info(CURLversion ver);
internal static extern IntPtr curl_version_info(CURLversion ver);