ClientCredentials.SupportInteractive Property

 
System_CAPS_noteNote

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

Gets or sets a value that indicates whether the system is allowed to interactively prompt the user for credentials when necessary. For example, setting it to false might be desired in middle-tier scenarios.

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

public bool SupportInteractive { get; set; }

Property Value

Type: System.Boolean

true if the credential supports interactive mode; otherwise, false. The default is true.

This property controls whether a user interface is allowed to pop up during credential provisioning. The most common case where this currently happens is with CardSpace.

The following code shows how to set this property.

public void snippet27(CalculatorClient client)
{
    client.ClientCredentials.SupportInteractive = false;
}

.NET Framework
Available since 3.0
Return to top
Show: