Amoraboti - Program
Rashed - Uz - Zaman (Rasel)
  Home About Me Brainstorming Facebook Fan Page Contact    
  Author
I'm Rz Rasel
From Bangladesh

  Archives
April 2010
May 2010
January 2011
February 2011
January 2012
February 2012
March 2012

  Current

  Previous Posts
Get Local Computer IP Address
Find Difference Between Two Dates In C Sharp
Calculating Date Difference in C Sharp
Without SSL connection, Normal SMTP Java
Fetch Mail through a proxy server (Gmail) Java
Send Mail through a proxy server (Gmail) Java
Sending Email From Your Application Using Java Mail
Link

  My Link
Islam And We
My Diary (Bangla)
My Diary (English)
My Lyrics (Bangla)
My Lyrics (English)
My Poem (Bangla)
My Poem (English)
My Story (Bangla)
My Story (English)
General Knowledge
Fun And Jokes
Lyrics (Bangla)
Lyrics (English)
Lyrics (Hindi)
Quotations
 
 
  Get Local Computer IP Address  
  Monday, April 5, 2010  
 
Get local computer IP address:

Get local computer IP address (C Sharp):

System.Net.dns.GetHostName();

Getting the IP addresses is a little more tricky - as there can be more
than one per host name:

System.Net.IPAddress[] a =
System.Net.Dns.GetHostAddresses(System.Net.Dns.Get HostName());

for (int i = 0; i < a.Length; i++)
{
Console.WriteLine(a[i].ToString());
}

Rz Rasel

Amoraboti

If Error – Please Acknowledge Me. (Rz Rasel)

Labels:

 
  posted by Rz Rasel At 12:11 AM,

0 Comments:

Post a Comment

<< Home

 
     
 
  Problem In Font
Download then zip file unzip and install in your system. Or normal font file just install in your system font folder. Rz Rasel
Bangla Font
Bangla Font

  Find Me In Facebook
 
 

   aaaa
 

   aaaa
 
 
Copyright © 2010 - Amoraboti - Program. ® All right reaserved. Design and developed by:- Rz Rasl