18 lines
957 B
C#
18 lines
957 B
C#
using System;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Provides the interface for retrieving credentials for a host, port, and authentication type.</summary>
|
|
// Token: 0x0200023F RID: 575
|
|
public interface ICredentialsByHost
|
|
{
|
|
/// <summary>Returns the credential for the specified host, port, and authentication protocol.</summary>
|
|
/// <returns>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.</returns>
|
|
/// <param name="host">The host computer that is authenticating the client.</param>
|
|
/// <param name="port">The port on <paramref name="host " />that the client will communicate with.</param>
|
|
/// <param name="authenticationType">The authentication protocol.</param>
|
|
// Token: 0x0600146E RID: 5230
|
|
NetworkCredential GetCredential(string host, int port, string authType);
|
|
}
|
|
}
|