I am writing an unencryption program and the business requirement is that two users must login in order for it to work. How can I write program that in C# that attempts to log both users into SQL? The users are SQL Users and I can't figure out how to authenticate SQL Users in C#.
I imagined a login screen with two user name slots and two password slots and then a shared login button. On click, user authentication happens for each user. If both authentications are successful, the file is decrypted.
Any help, advice or direction would be greatly appreciated.