Windows Media Rights Manager SDK banner art

WMRMRights.AllowPlaylistBurn

The AllowPlaylistBurn property specifies and retrieves a Boolean value that indicates whether the license permits content to be copied to CD as part of a playlist.

Syntax

WMRMRights.AllowPlaylistBurn = Boolean
Boolean = WMRMRights.AllowPlaylistBurn

Parameters

This property takes no parameters.

Return Values

If the property succeeds, it returns a Boolean value indicating whether the content can be copied to a CD. If it fails, it returns E_FAIL.

Remarks

The default value of this property is False.

This right allows protected Windows Media Audio files to be copied to a CD in the Red Book audio format. However, after a Windows Media file is copied to a CD, the file is no longer protected.

Example Code

' Before you can issue a license, you must specify the consumer's
' rights and set them in the WMRMLicGen object.

' Declare objects.
    Dim sRights
    Dim RightsObj
    Dim LicGenObj

' Create objects.
    Set RightsObj = Server.CreateObject("Wmrmobjs.WMRMRights")
    Set LicGenObj = Server.CreateObject("Wmrmobjs.WMRMLicGen")

' Reset the WMRMRights object.
    RightsObj.Reset()

' Specify the rights that will be granted to the consumer.
    RightsObj.AllowBackupRestore = False
    RightsObj.AllowPlay = True
    RightsObj.AllowPlaylistBurn = True
    RightsObj.MaxPlaylistBurnCount = 5
    RightsObj.PlaylistBurnTrackCount = 10

' Retrieve the string containing the rights.
    sRights = RightsObj.GetAllRights()

' Set the rights in the license generator.
    LicGenObj.Rights = sRights

' Continue the license issuing process.

Requirements

Version: Windows Media Rights Manager 10 SDK

Reference: wmrmobjs 1.0 Type Library

Library: wmrmobjs.dll

Platform: Windows Server 2003

See Also