1. m5加密:http://archive.msdn.microsoft.com/SilverlightMD5
从这个地址下一个文件,加到工程里,调用MD5Core.GetHashString(originalString);就可以了
2. http://stackoverflow.com/questions/14702868/serial-number-of-phone-device
imei号:
Dont forget to specify ID_CAP_IDENTITY_DEVICE capability in the app manifest.
object uniqueId;var hexString =string.Empty;
if(DeviceExtendedProperties.TryGetValue("DeviceUniqueId",out uniqueId))
hexString =BitConverter.ToString((byte[])uniqueId).Replace("-",string.Empty );