Re: Get current IP address



Dim defaultIPAddress As String =
Dns.Resolve(System.Environment.MachineName).AddressList(0).ToString

"Larry" <dontspamme@xxxxxxxxxxxxxx> wrote in message
news:O$Fc0F3AGHA.3976@xxxxxxxxxxxxxxxxxxxxxxx
> Does anyone have sample code on how to get the current IP address of a
> local machine?
>
> So, how would you ping your own machine and get the IP address of it
> (full IP Address)
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***


.



Relevant Pages

  • Re: Problem while filling the dataset where the data source is a .CSV file
    ... i would also like to bring to your note dat i m using an impersonated ... i get the error "MS remote is not registered in the local machine" ... and if i use the following string ... the strConnA i get the error "specified cast is not valid" ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Disk cleanup (Cleanmgr) freezes dead
    ... Kellys fix did WORK! ... > This string does not exist in Local Machine AFTER Microsoft?? ...
    (microsoft.public.windowsxp.general)
  • Listing, adding, and removing users to a local or domain group
    ... This code will list the users on the local machine using the ... Purpose: This will list the users in a domain. ... Dim domainDirectory As New DirectoryEntry ... directorySearcher.PropertiesToLoad.AddRange(New String() {"givenName", ...
    (microsoft.public.windows.server.active_directory)
  • Re: Simple HTML read/write question
    ... I would like to overwrite it on my local machine. ... > replace the encrypted data with unencrypted data. ... given directory on your machine, process it as a string, and then save ... on the Microsoft MSDN web site. ...
    (comp.lang.javascript)
  • i cant retrieve and/or write a binary or hex value from the regis
    ... I've successfully accessed the HKLM hive on a local machine. ... drilling down to where i need to be, i cannot read and display the correct ... extract the key as a binary value instead of a string, etc, etc. ...
    (microsoft.public.dotnet.languages.csharp)