Export (0) Print
Expand All

LicenseManagement.SelectLicenses Method (Stream)

Silverlight

Returns licenses from the persistent license store on the client based on a media stream, which contains a content header.

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

public static IEnumerable<MediaLicense> SelectLicenses(
	Stream mediaStream
)

Parameters

mediaStream
Type: System.IO.Stream
The stream for the license to return.

Return Value

Type: System.Collections.Generic.IEnumerable<MediaLicense>
The licenses from the persistent license store on the client based on a media stream, which contains a content header. If no IBX is present on the system, it is assumed the user has no licenses and an empty enumerator is returned from this method call.

NoteNote:

The overloads of the SelectLicense method do not work unless the user is running the Silverlight application out-of-browser and is using elevated trust.

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