Share via


DomainAcquirer.ChallengeCustomData Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets service specific data that will be sent inside the ___domain challenge to the PlayReady server.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Property ChallengeCustomData As String
public string ChallengeCustomData { get; set; }

Property Value

Type: System.String
Service specific data that will be sent inside the ___domain challenge to the PlayReady server. The default value is nulla null reference (Nothing in Visual Basic).

Remarks

If a Join Domain operation is initiated by a LicenseAcquirer, then:

  • If this property is set, this property’s value is sent to the ___domain server as challenge custom data.

  • Otherwise, if the DomainRequired or RenewDomain exception is raised and contains response custom data from the license acquisition server, then this data is sent (echoed) to the ___domain server as challenge custom data.

  • If neither of these options occur, then no challenge custom data is sent to the ___domain server.

This allows maximum flexibility in challenge custom data for automatic ___domain join.

This property never contains the custom data returned in the response; the response custom data must be accessed through the completion event.

You should Base 64 encode any values.

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.