I want Unique Device Id for back_end service (ws) for that I found following reference
private string GetDeviceId()
{
var token = Windows.System.Profile.HardwareIdentification.GetPackageSpecificToken(null);
var hardwareId = token.Id;
var dataReader = Windows.Storage.Streams.DataReader.FromBuffer(hardwareId);
byte[] bytes = new byte[hardwareId.Length];
dataReader.ReadBytes(bytes);
return BitConverter.ToString(bytes).Replace("-", "");
}//Note: This function may throw an exception.
but, I can't understand the code , every time I get same Id for my Device (64 character string ), I want to know that it is applicable or not ? I couldn't found any reference from MSDN also
Thank you
HashAlgorithmNames.Md5
– Gifted