MetadataExchangeClient.HttpCredentials Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the credentials used to make an HTTP/GET request.

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public ICredentials HttpCredentials { get; set; }

Property Value

Type: System.Net.ICredentials

The ICredentials object used to establish the request credentials.

Use the HttpCredentials property to customize the security credentials that the MetadataExchangeClient uses when requesting metadata using HTTP/GET.

.NET Framework
Available since 3.0
Return to top