Obtain the unique identifier of a Windows Mobile Device

Source: Internet
Author: User

Recently sortedCodeIn the msdn blog, I found that a cool person sorted out a class with comprehensive functions and explained in detail how to obtain the correct device ID.
How do I get the "right" device ID?
A simple device ID class

In addition, Microsoft. NET Compact framework quickstarts tutorial also provides a simple example. It also calls the Windows CE. Net API function.Kerneliocontrol.
Get the device ID

Windows Mobile 5.0 provides a new API FunctionGetdeviceuniqueidIt is used to obtain the device ID of the Pocket PC and smartphone. Windows Mobile Team blogArticleTo introduce its origins and explain the previousKerneliocontrolFunction to obtain the device ID.
Getdeviceuniqueid

With the unique device ID, we can implement a better smart device software authorization mechanism. We can also use it to restrict the smart device client software's access to background services, this improves system security.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.