title: How to get image from an Image Control Type in .net c#, I need to save this image in a file and then use it for later comparing
body: <p>Basically this is what I need to do:<br>
  There is a folder which on say modifying with a product, its appearance on desktop changes, and appears to be a same folder image with a lock on it. So now I need to verify this with automation.<br>
  So my approach was to retrieve this image with C# .net and then compare it with an expected pre-stored image file. So any help on how to retrieve this image would help a lot<br>
  Don't want to use any 3rd party tools as it would increase maintenance<br></p>
  
  <p>Any other better approach also if possible would help.</p>