No, unless you consent, which you should not do. If you are being investigated for possession of child pornography, the police can show up at your front door with a warrant to search and seize your electronic devices but you won’t be arrested until the devices are examined.  If you are the subject of a search warrant, click here to learn how to fight a child pornography investigation under C.G.S. 53a-196d.