Files
2026-04-10 22:50:51 +02:00

22 lines
1.1 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Net
{
/// <summary>Provides the interface for retrieving credentials for a host, port, and authentication type.</summary>
// Token: 0x0200022B RID: 555
[Token(Token = "0x200022B")]
public interface ICredentialsByHost
{
/// <summary>Returns the credential for the specified host, port, and authentication protocol.</summary>
/// <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>
/// <returns>A <see cref="T:System.Net.NetworkCredential" /> for the specified host, port, and authentication protocol, or <see langword="null" /> if there are no credentials available for the specified host, port, and authentication protocol.</returns>
// Token: 0x06000DEF RID: 3567
[Token(Token = "0x6000DEF")]
[Address(Slot = "0")]
NetworkCredential GetCredential(string host, int port, string authenticationType);
}
}