bonjour ,
dans l'objectif de l'identification de mon client j'ai besion d'@ IP de client qui a invoqué mon web méthode ,alors qlq'un sait l'instruction qui détermine cette @ IP .
mon web service est on Java.
et mérci d'avance
Version imprimable
bonjour ,
dans l'objectif de l'identification de mon client j'ai besion d'@ IP de client qui a invoqué mon web méthode ,alors qlq'un sait l'instruction qui détermine cette @ IP .
mon web service est on Java.
et mérci d'avance
//Essaye avec ce code
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14 string GetNomFromUserIP () { string sHostName=""; try { sHostName = "_" + this.Context.Request.UserHostName; } catch (Exception) { sHostName="_"; } return sHostName; }