SystemIdentification 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 information to uniquely identify the system on which the app is running.
public ref class SystemIdentification abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SystemIdentification final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class SystemIdentification
Public Class SystemIdentification
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Remarks
This is a static class.
Note
The system identification string is created using the calling app's publisher ID and an identifier derived from the system's firmware/hardware. The system identification string will be identical for all unpackaged (Win32) apps and all packaged apps with no publisher ID.
Methods
GetSystemIdForPublisher() |
Gets an identifier value for the system based on the app publisher ID. |
GetSystemIdForUser(User) |
Gets an identifier value for the system based on the user ID. |