This command returns the name of the
specified service. E.g. Remote Desktop.
For more information on profiles see
“Firewall Profiles”.
C++ users: the memory for the returned string is managed by DarkNet and is guaranteed to remain unchanged and available until the next mnFinishFirewall or mnUpdateFirewall. This means that you do not need to deallocate the memory.
unsigned int ProfileID: This is the ID of the profile that the command
should use.
unsigned int ServiceID: This is the ID of the service that the command should use.
A filled string if no error occurs. This
is the name of the specified service e.g. Remote Desktop.
An empty string if an error occurs.
DBP
C++
.Net