Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WMRMProtect Object

banner art
PreviousNext

WMRMProtect Object

Use the WMRMProtect object to encrypt content, and to package both the encrypted content and the content header in a Windows Media file. The WMRMProtect object exposes the following properties and methods.

Property Description
Header Specifies and retrieves the content header.
InputFile Specifies and retrieves the name of an input file.
Key Specifies and retrieves the content encryption key.
V1KeyID Specifies and retrieves the key ID for the version 1 content encryption object.
V1LicenseAcqURL Specifies and retrieves the license acquisition URL for the version 1 content header.

Method Description
ProtectFile Encrypts the file specified by the InputFile property.
WriteFile Writes an encrypted file with an updated content header.

See Also

PreviousNext

© 2007 Microsoft Corporation. All rights reserved.


Show: