title: C# Add icon to ListView row
body: <p>I am currently working at a C# FTP Client and I need some help.</p>
  
  <p>The client connects to a FTP server, retrieves directories and displys their names into a ListView.</p>
  
  <p>But I also want to display a small icon for those directories/files, something like in Windows Explorer. You know what I am talking about... </p>
  
  <p>Can anyone help me? 
  Thanks!</p>
  
  <p>LE:</p>
  
  <p>By now I have this method:</p>
  
  <pre><code>private void listFiles(String path)
          {
             connection = (FtpWebRequest)FtpWebRequest.Create(path);
             connection.Method = WebRequestMethods.Ftp.ListDirectory;
             WebResponse response = connection.GetResponse();
             StreamReader reader = new StreamReader(response.GetResponseStream());
             string line = reader.ReadLine();
             while (line != null)
             {
                 listView1.Items.Add(new ListViewItem(line));               
             }
          }
  </code></pre>
  
  <p>What should I add? I am new to c#...</p>