BasicHttpMessageSecurity::ClientCredentialType Property


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

Specifies the type of credential with which the client authenticates.

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

property BasicHttpMessageCredentialType ClientCredentialType {
	BasicHttpMessageCredentialType get();
	void set(BasicHttpMessageCredentialType value);

Property Value

Type: System.ServiceModel::BasicHttpMessageCredentialType

A member of the BasicHttpMessageCredentialType enumeration. The default value is UserName.

The return value can be one of the following enumeration members:

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top