C++
how to programmatically change system IP...
and if the the account has Limited Rights how t开发者_StackOverflowo use the password to perform the task
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
);
精彩评论