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