<PackageReference Include="System.ServiceModel.Http" Version="8.1.0" />

System.ServiceModel.HttpTransportSecurity

public sealed class HttpTransportSecurity
namespace System.ServiceModel { public sealed class HttpTransportSecurity { public HttpClientCredentialType ClientCredentialType { get; set; } public HttpProxyCredentialType ProxyCredentialType { get; set; } public string Realm { get; set; } public ExtendedProtectionPolicy ExtendedProtectionPolicy { get; set; } public HttpTransportSecurity(); public static void ConfigureTransportProtectionAndAuthentication(HttpsTransportBindingElement https, HttpTransportSecurity transportSecurity); } }