Top "Defaultnetworkcredentials" questions

A property of Microsoft's .NET Framework that returns the security context of the current user or application.

WebClient accessing page with credentials

I am trying to access a webpage on a same domain / same asp.net application, that is password protected. Credentials …

c# asp.net webclient credentials defaultnetworkcredentials
How do you get credentials (NetworkCredential) of currently logged in user?

I'm writing some code to utilise a 3rd party component, and I need to supply an object which implements ICredentials …

.net defaultnetworkcredentials
Using DefaultCredentials and DefaultNetworkCredentials

We're having a hard time figuring how these credentials objects work. In fact, they may not work how we expected …

web-services reporting-services credentials defaultnetworkcredentials
C# HttpWebRequest with Proxy Credentials not passing credentials to proxy server

I am currently following something similar to this: HttpWebRequest myWebRequest = (HttpWebRequest) WebRequest.Create("http://www.microsoft.com"); IWebProxy proxy = myWebRequest.…

c# proxy httpwebrequest defaultnetworkcredentials
DefaultNetworkCredentials or DefaultCredentials

Which one am I supposed to use when I need to supply a credential to a proxy (local or in …

.net credentials defaultnetworkcredentials
when using "default proxy" where does the username/password come from?

The "WebClient" class (and ClickOnce also) can use default proxy settings (e.g. put in application.config), however: Where does …

.net winforms proxy defaultnetworkcredentials defaultproxy
Powershell: Discover default network credentials when launched from runas /netonly

I am looking for a way to capture the network credentials of the current session into a variable that I …

powershell runas networkcredentials defaultnetworkcredentials