While he is known as an openly gay actor married to David Burtka, "How I Met Your Mother" alum Neil Patrick Harris played a straight male opposite Ben Affleck and Rosamund Pike in David Fincher's latest film "Gone Girl."

According to Harris, Jennifer Garner's husband is not the only one who had frontal nudity in the box-office hit film.

"Apparently, you can, yes," Harris confirmed to The Daily Beast he showed his penis in "Gone Girl," where he plays Desi, the obsessed ex of the titular role played by Pike.