prenatal paternity test??

Is it possible? How does it work? How much does it cost? And can you do it without the potential fathers knowledge?