LicenseAcquirer Methods

LicenseAcquirer Methods

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

The LicenseAcquirer type exposes the following members.

  NameDescription
Public method AcquireLicenseAsync(Byte()) Starts the license acquisition process.
Public method AcquireLicenseAsync(Guid) Starts the license acquisition process.
Public method AcquireLicenseAsync(Stream) Starts the license acquisition process by specifying a media stream.
Public method AcquireLicenseAsync(Guid, ContentKeyType, Guid) Starts the license acquisition process.
Public method CancelAsync Cancels a license acquisition.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnAcquireLicense The default implementation of this method calls into the MediaElement to acquire a license. You should override this method if you want to handle the license acquisition yourself.
Protected method OnCancel Overridden in a derived class to implement cancellation during manual license acquisition.
Protected method SetLicenseResponse Sets the license response by passing the SOAP body from the HTTP response to the license challenge.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Show:
© 2017 Microsoft