How many weeks did you find out the gender?

At how many weeks did you find out gender ? Through ultrasound or bloodwork? What gender?