public string GetStrData() { string s = ""; foreach (byte b in Data) { if (b == 0) break; s += (char)b; } return s; }