public string StoreData(string data, byte slot, bool overwrite)
{
if (data.Length > 12)
{
throw new Exception("Data stored in applet may not be more than 12 chars length");
}
string cmd = ("8081" + Util.BinToHex(slot) + (overwrite ? "01":"00") + "19" + Util.AddHexLength(Util.AsciiToHex(data))).PadRight(60, '0');
return Send(cmd);
}