keyongtech


  keyongtech > dotnet.framework.* > dotnet.framework.webservices

 #1  
04-02-08, 01:22 PM
Relaxin
I've created a WCF WebService that uses basicHttpbinding that is hosted in
IIS7.

From within the Service I need to get the IP address of the caller, how can
I do this?

P.S. I'm using VS2008 w/C# on Vista.

Thanks
 #2  
04-02-08, 08:46 PM
Relaxin
"Relaxin" <me> wrote in message
news:5660
> I've created a WCF WebService that uses basicHttpbinding that is hosted in
> IIS7.
>
> From within the Service I need to get the IP address of the caller, how
> can I do this?


I found it.
http://nayyeri.net/blog/detect-client-ip-in-wcf-3-5/
Similar Threads
Thread Thread Starter
Need Web Service Caller, machine name of IP Address

I need a way to uniquely identify the machine, IP Address or user that called a web service. We are attempting to loosely integrate two applications where both apps, running...

Al Reid
Getting the caller address

If I have idata:0x401230 GetEnvironmentStrW Normally you calculate the apiaddr, GetProcAddress(...); you get the hi-address of the module say 0x71012290 This is the callee...

Jacky Luk
how to get to the src file given a caller address?

Hi, I'm trying to trace a memory leak and managed to get the caller's address (CallersAddress) for my driver. How do I pinpoint which src line it is? cheers

Kenny Liew
How to discover the caller's IP address?

Hi, I need to know the IP addresses of the PCs that are connected to my SQL Server. The master.dbo.sysprocesses table contains the field net_address. This is supposed to be...

faustino Dina
How to discover the caller's IP address?

Hi, I need to know the IP addresses of the PCs that are connected to my SQL Server. The master.dbo.sysprocesses table contains the field net_address. This is supposed to be...

faustino Dina

Privacy Policy | All times are GMT. The time now is 02:45 PM.

Merging Information Logo
[Deutschland] [Espaņa] [France] [Italia] [Nederland] [Polska] [United Kingdom]