change ip address?

  • Thread starter Thread starter dante
  • Start date Start date
D

dante

How do i change the ip address of the device in VB.net to
whatever the user changes it to? And be able to have the
DHCP server select the ip address is automatically?
 
I've posted in the regular, non-.NET CF newsgroups, how to do this through
the registry. The registry entries would be the same for .NET CF. You can
find those messages in the archives via this link:

http://groups.google.com/groups?hl=en&group=microsoft.public.windowsce

It is also possible to use the IPHlpAPI to change those things, I believe,
but I'm not certain whether your target device will have that API or not.
If so, you might check MSDN for documentation on DeleteIPAddress() and
AddIPAddress(). You'll have to p/invoke them...

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top