-api-id | -api-type |
---|---|
P:Windows.System.Profile.EducationSettings.IsEducationEnvironment |
winrt property |
Gets a Boolean value indicating if the app is running in an education environment.
A Boolean value indicating if the app is running in an education environment.
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.
if (Windows.System.Profile.EducationSettings.IsEducationEnvironment)
{
SetHomePage("about:EDU");
}
else
{
SetHomePage("about:start");
}