/*Loading Application configuration*/ internal static void LoadAppConfig() { /*Loading Application configuration*/ udlDoubleM = AppWRDoubleM.ReadSetting("DoubleM_UDL").Trim(); _blnFirewll = Convert.ToBoolean(AppWRDoubleM.ReadSetting("Firewall")); _sProxy = AppWRDoubleM.ReadSetting("Proxy").Trim(); _sUID = AppWRDoubleM.ReadSetting("UID").Trim(); _sPWD = CryptorEngine.Decrypt(AppWRDoubleM.ReadSetting("PWD"), true); }
/*Loading Application configuration*/ internal static void LoadAppConfig() { /*Loading Application configuration*/ //string aName = System.Reflection.Assembly.GetExecutingAssembly().GetModules()[0].FullyQualifiedName; //string aPath = System.IO.Path.GetDirectoryName(aName); //Console.WriteLine("App.Path and App.ExeName Plus Extension Name is " + aPath); _DoubleMPath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetModules()[0].FullyQualifiedName); udlDoubleM = AppWRDoubleM.ReadSetting("DoubleM_UDL").Trim(); _sDefaultExcelFile = AppWRDoubleM.ReadSetting("ExcelExport"); _blnFirewll = Convert.ToBoolean(AppWRDoubleM.ReadSetting("Firewall")); _sProxy = AppWRDoubleM.ReadSetting("Proxy").Trim(); _sUID = AppWRDoubleM.ReadSetting("UID").Trim(); _sPWD = CryptorEngine.Decrypt(AppWRDoubleM.ReadSetting("PWD"), true); _sLatestPriceNotOldtThanHour = AppWRDoubleM.ReadSetting("LatestPriceNotOldtThanHour").Trim(); _sBatchKey = AppWRDoubleM.ReadSetting("Batchkey").Trim(); }