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.
Windows 10 requirements
Windows Desktop Extension SDK (introduced v10.0.10240.0) Windows Mobile Extension SDK (introduced v10.0.10240.0)
Windows.System.Profile.ProfileRetailInfoContract (introduced v1)
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.
|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.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.