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.
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.
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.
An example would be very good.
thanks c# user