This version of Unity is unsupported.

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.