HolographicCameraRenderingParameters.IsContentProtectionEnabled Property


Gets or sets whether the application is displaying protected content.

 property bool IsContentProtectionEnabled { bool get(); void set(bool value); };
bool IsContentProtectionEnabled();

void IsContentProtectionEnabled(bool value);
public bool IsContentProtectionEnabled { get; set; }
var boolean = holographicCameraRenderingParameters.isContentProtectionEnabled;
holographicCameraRenderingParameters.isContentProtectionEnabled = boolean;
Public Property IsContentProtectionEnabled As Boolean

Property Value


Whether content protection is enabled.

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)


While content protection is enabled, rendered content will be visible only in the headset, disabling the Mixed Reality Portal's preview.

If IsHardwareContentProtectionEnabled is set to true, IsContentProtectionEnabled will always return true.

Applies to