次の方法で共有


Windows Media Rights Manager SDK banner art

Packaging a Batch of Windows Media Files

This sample, which includes the BatchPackage_Simple.asp file, packages files in a directory based on criteria that you specify. You can also narrow the number of Windows Media files to be packaged according to additional criteria, such as last date modified.

Note   In this sample, you cannot package files that have already been packaged.

To test this sample

  1. Open BatchPackage_Simple.asp and fill out the form.

    Note   Make sure the output folder allows Change permission to Everyone. Otherwise, an "Access is denied" message appears when you try to package files.

  2. Click Protect Files.

You can use BatchPackage_LicGen.asp to deliver licenses .

See Also