DomainAcquirer.OnJoinDomain Method

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

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


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


  • 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.


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.

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


Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1


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