ServiceHostBase::Credentials Property

 

Gets the credential for the service hosted.

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

public:
property ServiceCredentials^ Credentials {
	ServiceCredentials^ get();
}

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: