HolographicSettings.IsContentProtectionEnabled

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.