Export (0) Print
Expand All

LicenseAcquirer.AcquireLicenseAsync Method (Stream)

Silverlight

Starts the license acquisition process by specifying a media stream.

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

public void AcquireLicenseAsync(
	Stream mediaStream
)

Parameters

mediaStream
Type: System.IO.Stream
The stream that is used for the license acquisition. The stream must be an ASF media stream.

ExceptionCondition
InvalidOperationException

If this method is called when an existing license acquisition attempt is already in progress on that instance of the class.

InvalidOperationException

If this LicenseAcquirer was previously used for a MediaElement base license acquisition.

Silverlight

Supported in: 5, 4

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

Community Additions

ADD
Show:
© 2014 Microsoft