The credentials DefaultCredentials will send up depend on what type of application requested DefaultCredentails. If it's a client application running under a user's account, the credentials will be that user's. If it's an ASP.NET application that's communicating with your web service, it will use the credentials for the account that the app pool is running under, by default, this is NETWORK_SERVICE
.
System.Net.CredentialCache.DefaultCredentials
最新推荐文章于 2021-01-09 14:21:34 发布