| Variables: |
|---|
| Constructors: |
|---|
| Functions: |
|---|
public System.Net.NetworkCredential GetCredential(System.Uri uri, System.String authType) Returns a System.Net.NetworkCredential object that is associated with a Uniform Resource Identifier (URI) and authentication type. Parameter uri: A System.Uri representing the URI for which the client is providing authentication. Parameter authType: A System.String containing the type of authentication. This value is required to be identical to the System.Net.IAuthenticationModule.AuthenticationType of the authentication module that uses the credential returned by this method. Returns: A System.Net.NetworkCredential associated with the specified URI and authentication type, or null if the credentials cannot be provided. As described above. Implement this method to return credentials information appropriate for the specified authentication type. This method returns an object suitable for passing to the System.Net.IAuthenticationModule.Authenticate(System.String,System.Net.WebRequest,System.Net.ICredentials) method of the authorization module registered for the specified authentication type. For additional information, see System.Net.AuthenticationManager.Register(System.Net.IAuthenticationModule). |