DomainAcquirer.OnJoinDomain Method

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

Overridden in a derived class to implement manual join domain operations.

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

Syntax

Protected Overridable Sub OnJoinDomain ( _
    joinChallenge As Stream, _
    domainServerUri As Uri _
)
protected virtual void OnJoinDomain(
    Stream joinChallenge,
    Uri domainServerUri
)

Parameters

  • joinChallenge
    Type: System.IO..::.Stream
    The PlayReady domain challenge that needs to be sent to the PlayReady server.
  • domainServerUri
    Type: System..::.Uri
    URI to the domain controller server which is used to manage domains.

Remarks

This method allows authentication information to be added to a Join Domain operation. It can also be used for extended error handling by looking at the raw responses from the domain server.

Version Notes

Windows Phone

This member is not implemented in Windows Phone OS 7.1.

Notes to Inheritors

When overriding OnJoinDomain in a derived class, the base class's OnJoinDomain method should only be called when an automatic domain join is desired. If the application is performing a manual operation, then you must not call the base class's OnJoinDomain method.

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