Compartir a través de


WMRMProtect.V1LicenseAcqURL

banner art

Previous Next

WMRMProtect.V1LicenseAcqURL

The V1LicenseAcqURL property specifies and retrieves the license acquisition URL for the version 1 content header.

Syntax

  WMRMProtect
  .V1LicenseAcqURL = String
String = WMRMProtect.V1LicenseAcqURL

Parameters

This property takes no parameters.

Return Values

If the property succeeds, it returns a String containing a URL that can be used by Windows Media Rights Manager version 1. If it fails, it returns a number in the error object.

Return code Description
0x80004005 An unspecified error occurred.
0x80070057 The specified parameter is not valid.

Remarks

The V1LicenseAcqURL property places the version 1 license acquisition URL into the version 1 header that is packaged, by either the WMRMProtect.ProtectFile or WMRMProtect.WriteFile methods, into a Windows Media file for delivery to the consumer. This property is provided for backward compatibility with players that support Windows Media Rights Manager version 1. The V1LicenseAcqURL property is optional. The default value is https://www.microsoft.com/isapi/redir.dll?prd=wmdrm\&pver=2\&os=win\&sbp=newclient, which points to a Web page where consumers can get a player that supports Windows Media Rights Manager 7 SDK or later.

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

Previous Next

© 2007 Microsoft Corporation. All rights reserved.