Version: 2018.1

HolographicSettings.IsContentProtectionEnabled

Switch to Manual
public static bool IsContentProtectionEnabled ;

Description

Whether the app is displaying protected content.

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