both wires are white how can i determine the hot wire?
You need to pay attention to the comment by @Hari Ganti. The only way I know to make sure you are connecting the right wire to the right place with confidence. Would be to open up and inspect the connection point of the power supply. Then you could ring each wire with your ohmmeter, mark and install them correctly. But if you could get to your connection point, why wouldn't you install a manufacturer approved cord and avoid any complications?