Check warranty and more information on Your HTC device.
You need only IMEI number, which you can find by typing on the phone *#06#.
In result You will get information like:
Mode, Serial Number, Part Description, Serie, Network, Country, Lock status, Warranty start, Warranty end.

IMEI;3526790768XXXXX
Model;HTC Desire 626
Serial Number;FA5CAB006695
Part;99HAEY024-00
Series;A32E#UL_TMUS-T17
Part Description;SKU , METROPCS , English-WWE , USA , GENERIC , Bootloader Lock , Glossy Terra White/Almond , GOD00 , w/ SIM Lock , A32E#UL_TMUS-T17
Customer Description;T-MOBILE USA
Country;USA
Lock status;locked
Warranty start;2015/12/31
Warranty end;2017/03/31


You can check Your HTC device here:
HTC warranty check