A Main Street landlord was arrested today and charged with secretly videotaping a tenant in her bathroom.

James E. Hill, 42, of 76A Main St. was charged with secret videotaping or electronic surveillance of a partially nude person, police said.

Police said that at 76B Main St., which is the other half of the duplex Mr. Hill owns, they found a small camera that had been passed through the heating register on the bathroom floor. Police said they recovered the pinhole-style camera, which was attached to a handheld computer device in the common basement area below the victim’s bathroom.

Police said the tenant is 41-year-old woman.

Police said Mr. Hill is scheduled to be arraigned tomorrow morning in Milford District Court.