title: WinInet vs WinHttp (service or service-like process)
body: <p>I can not understand the difference between these two concepts "service or service-like process".</p>
  
  <p>At msdn <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/hh227297%28v=vs.85%29.aspx" rel="noreferrer">WinHTTP vs. WinINet</a> page says:</p>
  
  <blockquote>
    <p>When selecting between the two, you should use WinINet, unless you
    plan to run within a service or service-like process that requires
    impersonation and session isolation.</p>
  </blockquote>
  
  <p>At msdn note for <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa384233%28v=vs.85%29.aspx" rel="noreferrer">WinInet function</a> says:</p>
  
  <blockquote>
    <p>Note  WinINet does not support server implementations. In addition, it
    should not be used from a service. For server implementations or
    services use Microsoft Windows HTTP Services (WinHTTP).</p>
  </blockquote>
  
  <p>What "service or service-like process that requires impersonation and session isolation" means?<br/>
  "WinINet does not support server implementations" refers to run on Windows Server?<br/>
  If my application run with IIS Have I to use WinHTTP instead WinInet?<br/></p>