I was wondering whether it was possible to obtain the current user object and get their credentials so that I can pass them along to a NetworkCredential
object whic
CredentialCache.DefaultNetworkCredentials?
The credentials returned by
DefaultNetworkCredentials
represents the authentication credentials for the current security context in which the application is running. For a client-side application, these are usually the Windows credentials (user name, password, and domain) of the user running the application.