mnGetServiceIPVersion

This command returns the IP version support of the specified service.

For more information on profiles see “Firewall Profiles”.

You can use mnSetServiceIPVersion to change the remote address of the specified service.

Parameters

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.

Returns (Integer)

0 if the specified service port IP version supports V4

1 if the specified service port IP version supports V6

2 if the specified service port IP version supports V4 and V6

-1 if an error occurred.

Present in

DBP

C++

.Net




This page is in the following sections:
(2) Firewall Services
(1) Windows Firewall
(0) DarkNet Help