In January, two police helicopters landed on his lawn to raid the property just north of Auckland. At that time, most of the country had never heard of Mr. Dotcom, despite his flamboyance and wealth. He had kept a low profile in the two years he had been living in this country of about 4.4 million people.

The police operation — carried out under New Zealand’s extradition treaty with the United States — seemed designed to attract attention. It was accompanied by uncharacteristically detailed news releases describing the operation, including how officers had cut their way into a panic room to arrest Mr. Dotcom, who, they said, was found sitting near a shotgun.

Mr. Dotcom — born Kim Schmitz and also known as Kimble and Kim Tim Jim Vestor — and three others connected with Megaupload were arrested in connection with U.S. indictments on charges involving copyright infringement and money laundering. At the time, the U.S. Department of Justice said that in all, seven people had been arrested around the world in connection with an investigation into online piracy of numerous copyrighted works, including music and films.

The Justice Department said the individuals and two companies — Megaupload and Vestor — had been charged with “engaging in a racketeering conspiracy, conspiring to commit copyright infringement, conspiring to commit money laundering and two substantive counts of criminal copyright infringement.”

This month, Mr. Dotcom’s U.S. lawyers are set to appear before a Virginia judge in a bid to have the criminal case against the company dismissed. According to a document on his lawyers’ Web site, they will argue, among other points, that the indictments are invalid because they must be submitted to a company’s U.S. office, which Megaupload has never had.