Share via


EducationSettings.IsEducationEnvironment Property

Definition

Gets a Boolean value indicating if the app is running in an education environment.

public:
 static property bool IsEducationEnvironment { bool get(); };
static bool IsEducationEnvironment();
public static bool IsEducationEnvironment { get; }
var boolean = EducationSettings.isEducationEnvironment;
Public Shared ReadOnly Property IsEducationEnvironment As Boolean

Property Value

Boolean

bool

A Boolean value indicating if the app is running in an education environment.

Examples

if (Windows.System.Profile.EducationSettings.IsEducationEnvironment)
{
    SetHomePage("about:EDU");
}
else
{
    SetHomePage("about:start");
}

Remarks

Returns true when running an Education SKU (Pro Education or Education).

Returns true when the SetEduPolicies policy is set.

Always returns false on the Home SKU.

A true value means the PC is running in an education environment (set either by the SKU or by the IT admin) and sets policies and behaviors to make Windows education ready.

Applies to