Yes, you will want to use the HttpWebRequest/HttpWebResponse classes in
your service.
Also, you will want to make sure that the service is running under an
account that has the appropriate permissions to access the network. The
LocalService account (which is what a lot of services run under) does not
have this permission.
On top of that, if you are writing a service to perform an action (like
a POST) on a timed interval, don't. Write your task as a console
application and then schedule that to run in Scheduled Tasks at your
interval.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
<da*******@gmail.comwrote in message
news:11*********************@e3g2000cwe.googlegrou ps.com...
Hi,
This may be a stupid question but i'm just wondering if it is
possible to do a Http POST from a Windows Service (written in C#)
Thanks in Advance