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

62 lines
3.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="ICredentialsByHost" FullName="System.Net.ICredentialsByHost">
<TypeSignature Language="C#" Value="public interface ICredentialsByHost" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract ICredentialsByHost" />
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The credentials are used for authentication of requests sent to hosts using the <see cref="T:System.Net.WebClient" /> class, and <see cref="T:System.Net.WebRequest" /> and its derived classes.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Provides the interface for retrieving credentials for a host, port, and authentication type.</para>
</summary>
</Docs>
<Members>
<Member MemberName="GetCredential">
<MemberSignature Language="C#" Value="public System.Net.NetworkCredential GetCredential (string host, int port, string authenticationType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Net.NetworkCredential GetCredential(string host, int32 port, string authenticationType) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Net.NetworkCredential</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="host" Type="System.String" />
<Parameter Name="port" Type="System.Int32" />
<Parameter Name="authenticationType" Type="System.String" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The value of <paramref name="authType" /> corresponds to the <see cref="P:System.Net.IAuthenticationModule.AuthenticationType" /> property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Returns the credential for the specified host, port, and authentication protocol.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.Net.NetworkCredential" /> for the specified host, port, and authentication protocol, or null if there are no credentials available for the specified host, port, and authentication protocol.</para>
</returns>
<param name="host">
<attribution license="cc4" from="Microsoft" modified="false" />The host computer that is authenticating the client.</param>
<param name="port">
<attribution license="cc4" from="Microsoft" modified="false" />The port on <paramref name="host " />that the client will communicate with.</param>
<param name="authenticationType">
<attribution license="cc4" from="Microsoft" modified="false" />The authentication protocol.</param>
</Docs>
</Member>
</Members>
</Type>