AcquireLicenseAsync Method (Byte[])
Collapse the table of content
Expand the table of content

LicenseAcquirer.AcquireLicenseAsync Method (Byte())

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

Starts the license acquisition process.

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

'Declaration
Public Sub AcquireLicenseAsync ( _
	mediaHeader As Byte() _
)

Parameters

mediaHeader
Type: System.Byte ()
The header that is used for the license acquisition.

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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft