How to get IP addres of Web Server in ASP.Net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Suvarna Kale

    How to get IP addres of Web Server in ASP.Net

    Hi ,I want to find IP addres of Web Server in ASP.Net. For example,in
    one application, when i click on button control , i want IP address of
    www.yahoo.com website.How will i do this . If any one is having idea
    please reply me as early as possible. Its very urgent. Thanks in
    advance.



    *** Sent via Developersdex http://www.developersdex.com ***
  • George

    #2
    Re: How to get IP addres of Web Server in ASP.Net

    use
    System.Net.Dns. GetHostAddresse s

    George



    "Suvarna Kale" <bunty728@gmail .comwrote in message
    news:O72moBX8IH A.1080@TK2MSFTN GP06.phx.gbl...
    Hi ,I want to find IP addres of Web Server in ASP.Net. For example,in
    one application, when i click on button control , i want IP address of
    www.yahoo.com website.How will i do this . If any one is having idea
    please reply me as early as possible. Its very urgent. Thanks in
    advance.
    >
    >
    >
    *** Sent via Developersdex http://www.developersdex.com ***

    Comment

    • Mark Rae [MVP]

      #3
      Re: How to get IP addres of Web Server in ASP.Net

      "Suvarna Kale" <bunty728@gmail .comwrote in message
      news:O72moBX8IH A.1080@TK2MSFTN GP06.phx.gbl...
      Hi ,I want to find IP addres of Web Server in ASP.Net. For example,in
      one application, when i click on button control , i want IP address of
      www.yahoo.com website.How will i do this . If any one is having idea
      please reply me as early as possible. Its very urgent. Thanks in
      advance.



      --
      Mark Rae
      ASP.NET MVP


      Comment

      Working...