using System.Runtime.Serialization.Formatters.Soap;private Hashtable SearchParams() { try { Hashtable htSearchParams=new Hashtable(); FileStream fs = new FileStream("Set the Path", FileMode.Open); SoapFormatter formatter = new SoapFormatter(); htSearchParams = (Hashtable)formatter.Deserialize(fs); return htSearchParams; } catch (Exception ex) { throw ex; } }