SystemIdentification Klasse

Definition

Stellt Informationen bereit, um das System, auf dem die App ausgeführt wird, eindeutig zu identifizieren.

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
Vererbung
Object Platform::Object IInspectable SystemIdentification
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Anniversary Edition (eingeführt in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v3.0)

Hinweise

Dies ist eine statische Klasse.

Hinweis

Die Systemidentifikationszeichenfolge wird mit der Herausgeber-ID der aufrufenden App und einem bezeichner erstellt, der von der Firmware/Hardware des Systems abgeleitet ist. Die Systemidentifikationszeichenfolge ist für alle nicht gepackten (Win32)-Apps und alle gepackten Apps ohne Herausgeber-ID identisch.

Methoden

GetSystemIdForPublisher()

Ruft basierend auf der App-Herausgeber-ID einen Bezeichnerwert für das System ab.

GetSystemIdForUser(User)

Ruft einen Bezeichnerwert für das System basierend auf der Benutzer-ID ab.

Gilt für: