LicenseManagement.SelectLicenses Method (Guid)

Silverlight

Returns licenses from the persistent license store on the client based on the provided key identifier.

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

public static IEnumerable<MediaLicense> SelectLicenses(
	Guid keyId
)

Parameters

keyId
Type: System.Guid
The key ID 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 the provided key identifier. 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: