public bool SetPCBase(String path) { PcBase = new FileRepository(UserPasses.BasePassword); bool success = PcBase.Connect(path); //update phone base and psd base return success; }
public bool SetPhoneBase(String path) { if (PcBase == null && UserPasses == null) throw new Exception("You need to set PC base or specify passes first"); PhoneBase = new FileRepository(UserPasses.PhonePassword); return PhoneBase.Connect(path); }