RetailInfo RetailInfo RetailInfo RetailInfo RetailInfo Class

Definition

A utility class that supports one method, IsDemoModeEnabled, and one property, Properties. Call IsDemoModeEnabled to determine whether the device where the app is running has specifically enabled its retail demo mode.

public : static class RetailInfo
static struct winrt::Windows::System::Profile::RetailInfo
public static class RetailInfo
Public Shared Class RetailInfo
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0) Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.System.Profile.ProfileRetailInfoContract (introduced v1)

Remarks

If RetailInfo.IsDemoModeEnabled returns true, you can get the set of available properties from RetailInfo.Properties. These properties include specific information that is useful for pre-installed demo apps that run in a retail setting. For example, you can get a ManufacturerName, ScreenSize, and so on, and display that info in an app that's intended for retail demo. The strings returned are typically suitable for inclusion in a UI.

When possible, use RetailInfo instead of the previous Windows.Phone.System.Profile.RetailMode API. RetailMode is only available for Windows Phone and doesn't support a "Properties" set of device-specific properties.

Properties

IsDemoModeEnabled IsDemoModeEnabled IsDemoModeEnabled IsDemoModeEnabled IsDemoModeEnabled

Determines whether the device where the app is running has specifically enabled its retail demo mode.

Properties Properties Properties Properties Properties

Gets an object that represents the set of available retail demo properties and their values.

See Also