Windows Media Rights Manager SDK banner art

WMRMProtect.V1KeyID

The V1KeyID property specifies and retrieves the key ID for the version 1 content header.

Syntax

WMRMProtect.V1KeyID = String
String = WMRMProtect.V1KeyID

Parameters

This property takes no parameters.

Return Values

If the property succeeds, it returns a String containing the key ID used by an earlier version of Windows Media Player. 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 V1KeyID property places the version 1 key ID 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 V1KeyID property is optional if you use the default value for the WMRMProtect.V1LicenseAcqURL property (you do not specify one).

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