EducationSettings.IsEducationEnvironment 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 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
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.