Compartir a través de


Download Object

banner art

Previous Next

Download Object

The Download object enables you to dynamically modify a content header of an existing packaged file. The modification process is performed in memory and eliminates the need to rewrite the file to disk, improving speed and performance. As a result, only one version of a packaged file needs to exist.

Note   This object should only be used inside an ASP page, and must be created by calling Server.CreateObject.

The Download object exposes the following properties and methods.

Property Description
ForceCompleteDownload Requires the consumer to download a packaged file in its entirety.
Method Description
Download Adds the modified content header to the packaged file.
DownloadEx Similar to the simple Download function, but allows the entry of a MIME type and header creation time.
GetDRMHeader Retrieves a content header from an existing packaged file.

See Also

Previous Next

© 2007 Microsoft Corporation. All rights reserved.