Freigeben über


Windows Media Rights Manager SDK banner art

WMRMRights.BurnToCDCount

The BurnToCDCount property specifies and retrieves the number of times that content can be copied to a CD.

This right has been deprecated and has been replaced by MaxPlaylistBurnCount and PlaylistBurnTrackCount.

Syntax

WMRMRights.BurnToCDCount = DWORD
DWORD = WMRMRights.BurnToCDCount

Parameters

This property takes no parameters.

Return Values

When getting the value, this property returns a DWORD containing the number of permitted copies.

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.Playcount = 20
    RightsObj.AllowBurnToCD = True
    RightsObj.BurnToCDCount = 2

' 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 7 SDK or later

Reference: wmrmobjs 1.0 Type Library

Library: wmrmobjs.dll

Platform: Windows Server 2003

See Also