How to Invoke a http on executable

  • Thread starter Thread starter Rudy Ko
  • Start date Start date
R

Rudy Ko

Hi,

I want to get some data over http potocol within a csharp standalone
executable. Can you help?

Thanks,
Rudy
 
Hi Rudy,

You may like to try .NET remoting here
I assume you mean the data is served by a C# standalone
executable. Correct ?. If this is the case, you could expose
a remote object at a wellknown URI that is hosted on the
C# host executable and register a http channel to
service remote requests.
Your client apps can then use remoting to call the methods
exposed by the remote object to obtain the data.

Regards,
Aravind C
 
hi rudy.
the answer depends on what kind of service you have on the server end.
are you trying to invoke a method on a remote object over http channel?
or simply trying to get an html page?
if its the last one then check out: System.Net.WebRequest / WebResponse
if this doesn't help, please give more details.
Sharon.
 
Back
Top