ServiceHostBase.Credentials Property

 

Gets the credential for the service hosted.

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

Public ReadOnly Property Credentials As ServiceCredentials

Property Value

Type: System.ServiceModel.Description.ServiceCredentials

The ServiceCredentials for the service hosted.

ServiceCredentials credentials =
                hostDefault.Credentials;

.NET Framework
Available since 3.0
Return to top
Show: