This command is used to find the ID of
an authorized application.
For more information on profiles see
“Firewall Profiles”.
This command should not be used to determine if an application entry exists because 0 is returned if an application was not found, but 0 can also be a valid application ID. Use mnApplicationExist instead.
unsigned int ProfileID: This is the ID of the profile that the command
should use.
char * FileName: This is the process image file name of the application that the command should use.
Any number if no error occurred. This is the ID of the found application.
0 if an error occurred.
DBP
C++
.Net