Results 1 to 5 of 5

Thread: Getting the Default GW IP using Vb.net 2005

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2007
    Posts
    9

    Question Getting the Default GW IP using Vb.net 2005

    Hello Guys,

    Can some one help me in the following :
    I wanna get the Default GW IP of the local machine inorder to make change to other values (DNS IP's).
    Thanks in advance.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Getting the Default GW IP using Vb.net 2005

    What is the "GW IP"?

  3. #3
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: Getting the Default GW IP using Vb.net 2005

    Quote Originally Posted by Hack
    What is the "GW IP"?
    The "George Washington IP" silly

    No but seriously he means GateWay IP, anway what changes do you wanna make? I don't think any are possible, you don't mean changing the IP do you?

  4. #4

    Thread Starter
    New Member
    Join Date
    Oct 2007
    Posts
    9

    Re: Getting the Default GW IP using Vb.net 2005

    Hello Guys,

    Yes i mean changing the Gateway IP..
    Any way i found some ways to checge the GW IP but the easiest way is to do that using Batch File and using a command NETSH (its dos command) and it works.
    However you may face some problem with that (the privelige for the user should be administrator or power user inorder to be able to change the IP).
    There is a solution for this which is u should run the appliacteion as a process so u can run it as Administrator and it will work.
    Am just trying to know how can i do that..!?

    Regards,

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Getting the Default GW IP using Vb.net 2005

    How you can do what? Run the application as a process?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width