EasClientDeviceInformation Class
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.
Provides the app with the ability to retrieve device information from the local device.
For a Windows 8.x sample application showing how mail clients can retrieve device information, see the [EAS policies for mail clients Windows 8.x sample]((https://github.com/microsoftarchive/msdn-code-gallery-microsoft/tree/master/Official%20Windows%20Platform%20Sample/Windows%208.1%20Store%20app%20samples/99866-Windows%208.1%20Store%20app%20samples/EAS%20policies%20for%20mail%20clients%20sample)
public ref class EasClientDeviceInformation sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class EasClientDeviceInformation final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class EasClientDeviceInformation final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class EasClientDeviceInformation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class EasClientDeviceInformation
function EasClientDeviceInformation()
Public NotInheritable Class EasClientDeviceInformation
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Constructors
EasClientDeviceInformation() |
Creates an instance of an object that allows the caller app to retrieve device information from the local device. |
Properties
FriendlyName |
Gets the friendly name of the local device. This value might come from a NetBIOS computer name. |
Id |
Returns the identifier of the local device. |
OperatingSystem |
Gets the name of the operating system of the local device. |
SystemFirmwareVersion |
Gets the system firmware version of the local device. |
SystemHardwareVersion |
Gets the system hardware version of the local device. |
SystemManufacturer |
Gets the system manufacturer of the local device. Use SystemManufacturer only if the value of SystemSku is empty. |
SystemProductName |
Gets the system product name of the local device. Use SystemProductName only if the value of SystemSku is empty. |
SystemSku |
Gets the system SKU of the local device. |