BasicHttpMessageCredentialType Enumeration
TOC
Collapse the table of content
Expand the table of content

BasicHttpMessageCredentialType Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Enumerates credential types that the client can authenticate with when security is enabled in the BasicHttpBinding binding.

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

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

Member nameDescription
UserNameIndicates that the client be authenticated using a username credential.

CertificatePresent only in Windows Phone, but not supported.

The client credential in the username case must be specified using the UserName property of the ClientCredentials class.

Capabilities

If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.

ID_CAP_NETWORKING

Windows Phone 8, Windows Phone OS 7.1

For more info, see App capabilities and hardware requirements for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft