Sehri Dua

Well i know the Dua for sehri.
But i always read it after i am done eating sehri right before fajar time, but someone told me today that u r suppose to read it before you eat as that your niyaat taht u r eating for sehri and plan to fast… so i am confused now!