views:

113

answers:

1

C++

how to programatically change system IP...

and if the the account has Limited Rights how to use the password to perform the task

A: 

Take a look at this link on msdn. I believe the function you should look into is:

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