Can I uniquely identify a device in Windows 10/Windows 8/WinRT

前端 未结 3 891
有刺的猬
有刺的猬 2021-02-01 20:12

Is there any mechanism to identify a device uniquely (even if it is anonymous)?

To be clear, by \"device\" I mean the computer/slate/pc.

Windows 8.x

3条回答
  •  时光说笑
    2021-02-01 20:31

    Could this be used as a consistent ID for the logged in user?

    http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.exchangeactivesyncprovisioning.easclientdeviceinformation.id.aspx

    EasClientDeviceInformation.Id | id property

    Returns the identifier of the local computer. The Id property represents the DeviceId using the GUID truncated from the first 16 bytes of the SHA256 hash of MachineID, User SID, and App ID where the MachineID uses the SID of the local users group. Each component of the GUID is returned in network byte order.

提交回复
热议问题