How to configure ip system programmatically

C ++

how to programmatically change the system IP ...

and if the account has Limited rights, how to use the password to complete the task

+3
source share
1 answer

Take a look at the msdn link . I believe the function you should learn is:

DWORD AddIPAddress(
  __in   IPAddr Address,
  __in   IPMask IpMask,
  __in   DWORD IfIndex,
  __out  PULONG NTEContext,
  __out  PULONG NTEInstance
);
0
source

Source: https://habr.com/ru/post/1758476/


All Articles