It was, of course, a fraud, officials said. For more than six years, the computer shop, Datalink Computer Products, regularly charged Mr. Davidson’s credit card accounts. The charges totaled more than $6 million, according to the office of the Westchester County district attorney, Janet DiFiore. It took months for investigators with the police in Harrison, N.Y., and other agencies to unravel the many twists and turns of the case.

One such twist was the civil lawsuit that pitted Mr. Davidson and Mr. Bedi against Wachovia Bank and three of the bank’s financial advisers. As co-trustees of the Redwood II F Trust, Mr. Davidson and Mr. Bedi claimed in the lawsuit that the bank had mishandled its $60 million in assets. People who were sued by Mr. Davidson and Mr. Bedi went to the Harrison police in July, setting off the fraud inquiry.

Mr. Bedi and Helga Invarsdottir, 39, who also worked at Datalink, were arrested on Thursday at their home in Chappaqua, N.Y., as they were preparing to leave for Iceland, Ms. Invarsdottir’s native country, officials said. They were charged with first-degree grand larceny, and arraigned on Friday at the Village of Mount Kisco Justice Court. Cash bail was set at $3 million for each defendant, and both were ordered to turn in their passports. They were still in custody on Monday.

Mr. Davidson did not return phone calls seeking comment. His Web site describes him as a versatile pianist and composer who specializes in classical music, jazz and various styles of Latin music. He produced Raul Jaurena’s “Te Amo Tango,” which earned a Latin Grammy for Best Tango Album in 2007.

After Mr. Davidson first visited Datalink in August 2004, Mr. Bedi told Mr. Davidson that he and his family were in grave danger, according to the district attorney’s office. The source of the virus, Mr. Bedi later told Mr. Davidson, was found in a hard drive in a village in Honduras, officials said. Mr. Bedi told Mr. Davidson that Mr. Bedi’s uncle  a military officer in India  had flown to Honduras and obtained the hard drive, the authorities said.