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); }
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; }