private byte[] EncodeXMLString(string stringXML) { try { ASWBXML encoder = new ASWBXML(); encoder.LoadXml(stringXML); return(encoder.GetBytes()); } catch (Exception ex) { throw ex; } }