Задайте вопросЗадайте вопрос
 

ОтвеченоHow to adjust TCP/IP settings (IP, DNS, etc)

  • 9 июня 2006 г. 15:20mrayyan Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     
    Greetings,
    I am trying to find out how to change the DNS from "Obtain DNS server address automatically" to manual and enter the DNS address.

    Basically, what I want is the following:
    1. If computer ip address subnet is NOT  "141.218.255.255" then change the DNS setting to "Obtain DNS server address autoamtically". 

    2. and if it is "141.218.255.255" then make the DNS primary address "141.218.1.92" and secondary "141.218.218.96"

    Is there away to do this using System.Net?

Ответы

Все ответы