Software i develop is detected as malware


I have software developed in vpf and c# for windows that is being detected by the bitdefender. Mostly the report said that the tecnichs of the attack are the followings Aplications window discovery, Modify Registry and Query registry. This means that i cant do this things or is there a correct way (not the way i do it ) to do this things that bitdefender considers that is not a threath.