Magnetoresistance and de Haas-van Alphen Effect in UPt3