Manoj,
I would take a look at the WMI namespaces, which are accessible through
the System.Management namespace, specifically the
Win32_NetworkAdapterConfiguration class (this is a WMI class, not a .NET
class).
Assuming that the network adapter has a static IP already, and you are
assigning an IP from the same subnet and whatnot, it should work no problem.
However, if it is using DHCP, then you will have to make sure to set things
like the DNS servers, the subnet mask, etc, etc.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Manoj Nair" <mn*********@hotmail.com> wrote in message
news:uk**************@TK2MSFTNGP10.phx.gbl...
Hi,
Is there a way by which the IP address of a terminal can be set through
code.
thanks in advance
Manoj