I have an application that sends and receives data from another application running on the same machine using UDP protocol. Every time I open the program after I restart my computer, the firewall tells me it is blocked and asks if I want to allow access. Is there a way to permanently add this program to a "trusted" user list programmatically so that this dialogue stops popping up and so my users don't have to change anything on their machines manually?
The application is in VC++ 2005 and I'm running Windows XP SP3. I also needs something that will work on Windows 7, since we may be updating soon.