public static void GetUPSRatingInfo() { while (!RatingInfo.Success) { RatingInfo = UPS.MegatecProtocol.UPSRatingInformation(); } }