keyongtech


  keyongtech > dotnet.framework.* > dotnet.framework.webservices > 04/2008

 #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
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...

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

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...

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...

How to get caller's IP address on remote instantiation?

Hi, I am developing a service to provide some services to remote computers, such as accessing web cam. I would like to ask; 1. whether WIA supports a remote computer to...


All times are GMT. The time now is 05:45 AM. | Privacy Policy