The present invention relates to an anti-seeding arrangement (100) for invasive treatment of a human or animal body comprising an elongated hollow member (102), and a first electrode (116) of which one portion is arranged near one end of the elongated hollow member (102), said first electrode (116) being connectable to an electromagnetic field generator (110), wherein the elongated hollow member (102) is arranged to be inserted into the human or animal body, control means (106, 108) arranged to control the electromagnetic field generator (110) for delivering radio frequency bursts to the first electrode (116), and sensing means (104) to sense a physical property dependent on the insertion length of the elongated hollow member (102) in the human or animal body, and wherein the control means (106, 108) is arranged to control the operation of the electromagnetic field generator (110) in dependence of the sensed physical property.