Поделиться через


Time Restrictions

banner art

Previous Next

Time Restrictions

By using the following rights, you can restrict when protected content can be played:

  • BeginDate. This right specifies a date after which the license is valid. Before this date, the Windows Media file cannot be played. By default, this right is not set and a license is valid immediately.
  • ExpirationDate. This right specifies a date after which the license is no longer valid and the Windows Media file can no longer be played. For example, you can set a license to expire on December 31, 2005. By default, this right is not set and the license never expires.
  • ExpirationAfterFirstUse. This right specifies the length of time (in hours) a license is valid after the first time the license is used. For example, you can set a license to expire 24 hours after a consumer begins to play the Windows Media file. By default, this right is not set and the license never expires.
  • ExpirationOnStore. This right specifies the length of time (in hours) a license is valid after the first time the license is stored on the consumer's computer. For example, you can set a license to expire 72 hours after it is stored. By default, this right is not set and the license never expires.
  • DeleteOnClockRollback. This right deletes the license if the consumer's computer clock is reset to an earlier time. Use this right if the license also specifies an expiration date. By default, licenses are not deleted when the clock is rolled back.
  • DisableOnClockRollback. This right disables a license if the consumer's computer clock is reset to an earlier time. The license is enabled again when the clock is corrected. Use this right if the license also specifies an expiration date. By default, licenses are not disabled when the clock is rolled back.
  • GracePeriod. This right specifies the number of hours during which protected content can be played after a device clock becomes unset. If the device supports grace periods and the clock becomes unset, the device makes a "best guess" at the current time by using the value of the last-known secure time. If the current time falls within this grace period, the device plays the content. By default, this value is set to 0.

See Also

Previous Next

© 2007 Microsoft Corporation. All rights reserved.