Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/09/2008, 07:09
Avatar de Peterpay
Peterpay
Colaborador
 
Fecha de Ingreso: septiembre-2007
Ubicación: San Francisco, United States
Mensajes: 3.858
Antigüedad: 16 años, 8 meses
Puntos: 87
Respuesta: Obtener IP cliente c-sharp

pues si tienes el cliente puedes pedirle que resuelva con winsock con algo como esto

http://www.developerfusion.co.uk/show/1851/

si no puedes probar esto tambien

Private string GetIP()
{

string strHostName = "";
strHostName = System.Net.Dns.GetHostName();
IPHostEntry ipEntry = System.Net.Dns.GetHostEntry(strHostName);
IPAddress[] addr = ipEntry.AddressList;
return addr[addr.Length-1].ToString();

}
__________________
Curso WF4
http://cursos.gurudotnet.com/ DF
Aprende HTML5