C# http network requests with Windows service

Posted by Omegavirus on Stack Overflow See other posts from Stack Overflow or by Omegavirus
Published on 2010-12-25T22:34:53Z Indexed on 2010/12/25 22:54 UTC
Read the original article Hit count: 211

Filed under:
|
|
|

hello, today i wrote a windows service which needs to send regular http requests to a server. the problem is that the service runs under the "SYSTEM" account as local service and as such a type of service it isn't allowed to access the network.. for installing the service i use this class:

http://dl.dropbox.com/u/152585/ServiceInstaller.cs

is there a way to send http requests in a .net c# windows service and get the http response? thanks. :)

© Stack Overflow or respective owner

Related posts about c#

Related posts about http