1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="ICredentials" FullName="System.Net.ICredentials" FullNameSP="System_Net_ICredentials" Maintainer="ecma">
3 <TypeSignature Language="ILASM" Value=".class interface public abstract ICredentials" />
4 <TypeSignature Language="C#" Value="public interface ICredentials" />
5 <TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract ICredentials" />
6 <MemberOfLibrary>Networking</MemberOfLibrary>
8 <AssemblyName>System</AssemblyName>
9 <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
10 <AssemblyVersion>1.0.x.x</AssemblyVersion>
11 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
12 <AssemblyVersion>2.0.0.0</AssemblyVersion>
13 <AssemblyVersion>4.0.0.0</AssemblyVersion>
18 <attribution license="cc4" from="Microsoft" modified="false" />
19 <para>The <see cref="T:System.Net.ICredentials" /> interface provides the <see cref="M:System.Net.ICredentials.GetCredential(System.Uri,System.String)" /> method to objects that supply network credentials to applications.</para>
22 <attribution license="cc4" from="Microsoft" modified="false" />
23 <para>Provides the base authentication interface for retrieving credentials for Web client authentication.</para>
27 <Member MemberName="GetCredential">
28 <MemberSignature Language="ILASM" Value=".method public hidebysig virtual abstract class System.Net.NetworkCredential GetCredential(class System.Uri uri, string authType)" />
29 <MemberSignature Language="C#" Value="public System.Net.NetworkCredential GetCredential (Uri uri, string authType);" />
30 <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Net.NetworkCredential GetCredential(class System.Uri uri, string authType) cil managed" />
31 <MemberType>Method</MemberType>
33 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
34 <AssemblyVersion>2.0.0.0</AssemblyVersion>
35 <AssemblyVersion>4.0.0.0</AssemblyVersion>
38 <ReturnType>System.Net.NetworkCredential</ReturnType>
41 <Parameter Name="uri" Type="System.Uri" />
42 <Parameter Name="authType" Type="System.String" />
46 <attribution license="cc4" from="Microsoft" modified="false" />
47 <para>The <see cref="M:System.Net.ICredentials.GetCredential(System.Uri,System.String)" /> method returns a <see cref="T:System.Net.NetworkCredential" /> instance that contains the credentials that are associated with the specified URI and authorization scheme. When no credentials are available, the <see cref="M:System.Net.ICredentials.GetCredential(System.Uri,System.String)" /> method returns null.</para>
50 <attribution license="cc4" from="Microsoft" modified="false" />
51 <para>Returns a <see cref="T:System.Net.NetworkCredential" /> object that is associated with the specified URI, and authentication type.</para>
54 <attribution license="cc4" from="Microsoft" modified="false" />
55 <para>The <see cref="T:System.Net.NetworkCredential" /> that is associated with the specified URI and authentication type, or, if no credentials are available, null.</para>
58 <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Uri" /> that the client is providing authentication for. </param>
59 <param name="authType">
60 <attribution license="cc4" from="Microsoft" modified="false" />The type of authentication, as defined in the <see cref="P:System.Net.IAuthenticationModule.AuthenticationType" /> property. </param>
62 <Excluded>0</Excluded>
65 <TypeExcluded>0</TypeExcluded>