I am trying to build a C# app that aims to do multiple tasks [e.g. open a file, open a port, spawn a Windows service etc.] simultaneously.
Here is what I require:-
a) The app should be able to run these tasks at the same time [each initiated through and inside a separate thread but inside the same application domain] b) Each thread should run under the account of a separate Windows user account [The user name and password will be supplied before the application starts through a repository/table]
Please suggest the best way to achieve this in C#? Thanks, Sumit