Compartilhar via


CustomProtectedStream.Size property

Gets or sets the size of the protected data in bytes. Implements the IRandomAccessStream.Size property.

Syntax

public:
property unsigned long long Size { 
   unsigned long long get();
   void set (unsigned long long value);
}

Property value

Type: UInt64

The size of the protected data in bytes.

Remarks

[!Warning]
To avoid data loss and/or corruption, FlushAsync must be called if you modify the created stream or before object disposal.

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