Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

66 lines
4.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="ICredentials" FullName="System.Net.ICredentials" FullNameSP="System_Net_ICredentials" Maintainer="ecma">
<TypeSignature Language="ILASM" Value=".class interface public abstract ICredentials" />
<TypeSignature Language="C#" Value="public interface ICredentials" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract ICredentials" />
<MemberOfLibrary>Networking</MemberOfLibrary>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
<AssemblyVersion>1.0.x.x</AssemblyVersion>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<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>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Provides the base authentication interface for retrieving credentials for Web client authentication.</para>
</summary>
</Docs>
<Members>
<Member MemberName="GetCredential">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual abstract class System.Net.NetworkCredential GetCredential(class System.Uri uri, string authType)" />
<MemberSignature Language="C#" Value="public System.Net.NetworkCredential GetCredential (Uri uri, string authType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Net.NetworkCredential GetCredential(class System.Uri uri, string authType) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Net.NetworkCredential</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="uri" Type="System.Uri" />
<Parameter Name="authType" Type="System.String" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<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>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Returns a <see cref="T:System.Net.NetworkCredential" /> object that is associated with the specified URI, and authentication type.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<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>
</returns>
<param name="uri">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Uri" /> that the client is providing authentication for. </param>
<param name="authType">
<attribution license="cc4" from="Microsoft" modified="false" />The type of authentication, as defined in the <see cref="P:System.Net.IAuthenticationModule.AuthenticationType" /> property. </param>
</Docs>
<Excluded>0</Excluded>
</Member>
</Members>
<TypeExcluded>0</TypeExcluded>
</Type>