title: c# winforms : getting and using credentials to access a folder on another domain
body: <p>I am developing a c# Winforms application that runs as a normal user (no elivated privilages) under windows7. The application needs to access a folder that is present on another domain - not the domain the user signed in under.</p>
  
  <p>I would like to know how to ask the user to enter the new credentials needed to access the folder and the files it contains, on the other domain, from within the application.</p>
  
  <p>Ideally, I would like to pop-up a credentials dialog, similar to what windows curently does, asking for the userid, password and domain. I am unsure how to do this and what to do with the values the user would provide so the folder's files can be accessed.</p>
  
  <p>An example would be very good.</p>
  
  <p>thanks
  c# user</p>