共用方式為


LicenseManagement.SelectLicenses Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Returns licenses from the persistent license store.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member SelectLicenses(Guid) Returns licenses from the persistent license store on the client based on the provided key identifier.
Public methodStatic member SelectLicenses(Stream) Returns licenses from the persistent license store on the client based on a media stream, which contains a content header.

Top

Remarks

If no IBX is present on the system, it is assumed the user has no licenses in their HDS and an empty enumerator should be returned from the 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.