Compartilhar via


CustomProtectedStream.GetEncryptedContentLength method

Calculates the length of the encrypted content from the length of the clear content.

Syntax

public:
static unsigned long long GetEncryptedContentLength(
  UserPolicy^ policy, 
  unsigned long long clearContentLength
)

Parameters

policy

Type: UserPolicy

clearContentLength

Type: UInt64

Return value

Type: UInt64

The content length.

Requirements

Minimum supported client
None supported
Minimum supported server
None supported
Minimum supported phone
Windows Phone 8.1
Namespace
Microsoft::RightsManagement
Metadata
Microsoft.RightsManagement.winmd

See also

CustomProtectedStream