public override string ToString(object value) { Debug.Assert(value is byte[]); return Convert.ToBase64String((byte[])value); }