예제 #1
0
 public byte[] GetProductContent(string productId, string cultureCode)
 {
     try
     {
         XmlDocument xmlDoc = new XmlDocument();
         xmlDoc.LoadXml(PrepareContent(productId, cultureCode, false, false, true, true));
         return(Streaming.StreamToByte(Streaming.GetDocumentStream(xmlDoc)));
     }
     catch (Exception exc)
     {
         return(Streaming.EmptyByte);
     }
 }