mnSetServiceIPVersion

This command changes the IP version of the specified service.

For more information on profiles see “Firewall Profiles”.

You can use mnGetServiceIPVersion to determine the IP version of a 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.

int IPVersion: This is the IP version that the service should be set to.

Possible IP version:

0: V4

1: V6

2: V4 and V6

Returns (Integer)

0 if no error occurred.

-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