public void getStoreMasterPassword(string phone, string clientID) { try { MySQLBusinessLogic bl = new MySQLBusinessLogic(); int storeID = GetStoreIDbyPhone(phone); string storeMasterPwd = bl.GetStoremasterPassword(storeID); if (storeMasterPwd != "" && storeMasterPwd != null) { //storeMasterPwd = Decrypt(storeMasterPwd);//Decryption Clients.Client(clientID).setMasterAck("1", storeMasterPwd); } else Clients.Client(clientID).setMasterAck("0"); } catch (Exception ex) { Clients.Client(clientID).setMasterAck("0"); } }