Hello Jason,
I reckon the answer in API CredUIPromptForCredentials() (but I haven't tried
it yet)
See
http://www.pinvoke.net/default.aspx/...dentialsW.html
and Dunkan article about using his wrapper for this
http://msdn.microsoft.com/library/de...redentials.asp
JH> In my Windows Server 2003, I have an user account MyAccount with
JH> password
JH> MyPassword.
JH> I have some c# files in a particular folder MyFolder in that Win2003
JH> machine.
JH> Saying I have a short program in client which will compare some
JH> files in the
JH> client side with those files in MyFolder in server side.
JH> What will be the C# code for logon the server? How do I make
JH> comparsion for
JH> those files based on the files modified time?
JH> Any help will be appreciated.
JH> Jason
JH>
---
WBR,
Michael Nemtsev :: blog:
http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche