Share via


DomainAcquirer.ChallengeCustomData Property

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

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

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 nullNothingnullptra 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 Notes

Windows Phone

This member is not implemented in Windows Phone OS 7.1.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

DomainAcquirer Class

System.Windows.Media Namespace

Other Resources

Digital Rights Management (DRM) for Windows Phone 8