public String Explore(String currentNode) { DbResourceLocator locator = new DbResourceLocator(); Node result = locator.Locate(currentNode); NodeSerializer ser = new NodeSerializer(); ser.Format = (int)NodeSerializer.Formats.XML; String s = ser.GetXml(result); s = Convert.ToBase64String(Encoding.UTF8.GetBytes(s)); return(s); }