dnd 5e – How does taking Ioun stones off someone work?

Ioun Stones:

Thereafter, another creature must use an action to grasp or net the stone to separate it from you, either by making a successful Attack roll against AC 24 or a successful DC 24 Dexterity (Acrobatics) check.

Is the “successful Attack roll against AC 24” specific to using a net to take it, or can you take it with a successful attack roll of any sort?