Windows.Management.Update Windows.Management.Update Windows.Management.Update Windows.Management.Update Windows.Management.Update Namespace

This API allows users to opt in or out of receiving Windows Insider Preview Builds on their device. This is intended to be used by IoT OEMs

Classes

PreviewBuildsManager PreviewBuildsManager PreviewBuildsManager PreviewBuildsManager PreviewBuildsManager

Manages the state of preview builds for the device.

PreviewBuildsState PreviewBuildsState PreviewBuildsState PreviewBuildsState PreviewBuildsState

Contains information used to connect a device to associate the device with the Windows Insider Program.

Examples

This example demonstrates how a user can determine if their device is receiving preview builds or if there are problems preventing the device from getting preview builds.

public string GetErrorMessage() 
{ 
    PreviewBuildsManager manager = PreviewBuildsManager.GetDefault(); 
    if (manager != null) 
    { 
        PreviewBuildsState state = manager.GetCurrentState(); 
        if (state.Properties.ContainsKey("ErrorMessage")) 
        { 
            return state.Properties["ErrorMessage"].ToString(); 
        } 
    } 
    return String.Empty; 
} 

Remarks

This API allows an IoT device to receive Windows Insider Preview Builds. It's expected that the OEM of the device will create a settings page within the Windows Device Portal for device configuration properties. On a high level, information from PreviewBuildsState will be read by the device, displayed to the user, and then used to register the user's account to the device. After registration, all settings management will be done through the online through the Windows Insider Program instead of the device itself.