Ejemplo n.º 1
0
        public Hashtable CreateHashtableWithByteArrayAndStringElement(byte[] content1, string content2)
        {
            Hashtable result = new Hashtable();

            //result["content1"] = content1; // doesn't work, because of java behaviour
            result["content1"] = new ByteArrayContainer(content1);
            result["content2"] = content2;
            return(result);
        }
Ejemplo n.º 2
0
 public Hashtable CreateHashtableWithByteArrayAndStringElement(byte[] content1, string content2) {
     Hashtable result = new Hashtable();
     //result["content1"] = content1; // doesn't work, because of java behaviour
     result["content1"] = new ByteArrayContainer(content1);
     result["content2"] = content2;
     return result;
 }