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


WMRMRights.MinimumClientSDKSecurity

banner art

Previous Next

WMRMRights.MinimumClientSDKSecurity

The MinimumClientSDKSecurity property specifies and retrieves the minimum security level of the Windows Media Format SDK on which the client application is based. Only applications that meet the required security level can use your packaged files.

Syntax

  WMRMRights.
  MinimumClientSDKSecurity
  
  =
  
  DWORD
DWORD
  
  =
  
  WMRMRights.
  MinimumClientSDKSecurity

Parameters

This property takes no parameters.

Return Values

When getting the value, this property returns a DWORD containing the security level of the Windows Media Format SDK on which the player application must be based. If it fails, it returns E_FAIL.

Remarks

The default value of this property is 0.

Significant security enhancements have been made to Windows Media Format 7.1 SDK. To require player applications to be based on Windows Media Format 7.1 SDK or later, require a MinimumClientSDKSecurity of 3000.

Example Code

  ' Require the player to be based on Windows Media Format 7.1 SDK or later.
    RightsObj.MinimumClientSDKSecurity=3000








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

Previous Next

© 2007 Microsoft Corporation. All rights reserved.