title: How to check if a particular version of flash player is installed or not in C#.?
body: <p>I want to check from my code if a particular version of flash player is installed or not.
  I used the following code</p>
  
  <pre><code>using Microsoft.Win32
  
  RegistryKey RK = Registry.CurrentUser.OpenSubKey("HKEY_LOCAL_MACHINE\\SOFTWARE\\Macromedia\\FlashPlayer");
  
  if (RK != null)
  {
      // It's there 
  }
  else
  {
      // It's not there 
  } 
  </code></pre>
  
  <p>In registry If I search for flash player with version 10.2.161.23, the location </p>
  
  <blockquote>
    <p>"HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia"</p>
  </blockquote>
  
  <p>is having 2 folders:</p>
  
  <ol>
  <li>FlashPlayer and</li>
  <li>FlashPlayerActiveX.</li>
  </ol>
  
  <p>But, my above code is not working.</p>
  
  <p>Kindly let me know how to check if a particular version of flash player is installed in a system or not <strong>USING C#.NET</strong>.</p>