Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SharedModeSettings.IsEnabled Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets a Boolean value that indicates if shared mode is currently enabled.

public:
 static property bool IsEnabled { bool get(); };
static bool IsEnabled();
public static bool IsEnabled { get; }
var boolean = SharedModeSettings.isEnabled;
Public Shared ReadOnly Property IsEnabled As Boolean

Property Value

Boolean

bool

A Boolean value that indicates if shared mode is currently enabled.

Examples

if (!Windows.System.Profile.SharedModeSettings.IsEnabled)
{
 LaunchWelcomeExperience();
}

Remarks

Returns true when the EnableSharedPCMode policy is set.

Returns true when running on a Surface Hub.

Examples of changes you might make in an education environment:

  • Not launch the first-run experience

A true value means the PC is running in scenarios where multiple consecutive users use the PC. These user accounts may be deleted, which means that users may have a new account created each time they use the same device.

Applies to


Feedback

Was this page helpful?