using System; namespace System.Net { /// Defines the credential policy to be used for resource requests that are made using and its derived classes. // Token: 0x0200023E RID: 574 public interface ICredentialPolicy { /// Returns a that indicates whether the client's credentials are sent with a resource request made using an instance of the class. /// true if the credentials are sent with the request; otherwise, false. /// The that will receive the request. For more information, see the Remarks section. /// The that represents the resource being requested. /// The that will be sent with the request if this method returns true. /// The that will conduct the authentication, if authentication is required. // Token: 0x0600146D RID: 5229 bool ShouldSendCredential(global::System.Uri challengeUri, WebRequest request, NetworkCredential credential, IAuthenticationModule authenticationModule); } }