NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 44 45 46 47 48 … 93 Next »
SLightly OT - Windows Services

 
  • 0 Vote(s) - 0 Average
SLightly OT - Windows Services
jtokach
Offline

Member

Posts: 192
Threads: 36
Joined: Oct 2004
#1
2007-04-24, 08:28 PM
Sub (or anyone with knowledge),

I want to write a Windows Service in .NET that can consume web services and upload files using a web service. Previous experience had me setting up the service to use the NT Authority\Network Service account to use network resources. But that account is so limited, you're forced to write yet another service running as local system to do grunt work.

My question is, how does GBPVR update the EPG data? I looked at the recording service and it's running as Local System. So it's either using the aewsome code I'm after or GBPVRTray.exe, which is running as the user, doing the work. Since I'm always logged into my GBPVR box, I have no reason not to believe the later is true.

But, most antivirus software is running as local system yet they can update themselves whether or not a user is logged in. Someone, please, show me the light!

Jim
-Jim
---------------------------------------------
GBPVR Website
GBPVR Wiki
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2007-04-24, 08:38 PM
Quote:My question is, how does GBPVR update the EPG data? I looked at the recording service and it's running as Local System. So it's either using the aewsome code I'm after or GBPVRTray.exe, which is running as the user, doing the work.
Its not doing anything exciting. Its just using TCP/IP to access the listings across the net (in the case of zap2it). Pretty much any process can do TCP/IP stuff unless you've installed firewall software that disallows it. This is different than access network drives etc though, which is more the sort of things that have permissions that relate to user accounts etc.
jtokach
Offline

Member

Posts: 192
Threads: 36
Joined: Oct 2004
#3
2007-04-24, 08:43 PM
That's too simple. I can't believe how too simple that is. So I simply create the web service with a method to copy a file from the local file system to the web servers file system, then reference the web service in my windows service app and viola?
-Jim
---------------------------------------------
GBPVR Website
GBPVR Wiki
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#4
2007-04-24, 08:49 PM
Yeah.
jtokach
Offline

Member

Posts: 192
Threads: 36
Joined: Oct 2004
#5
2007-04-24, 08:58 PM
If you could, picture the scenes in Sienfeld when Elaine would hear something unbeleivable and then say "No way!" while pushing the person halfway across the room. Consider yourself pushed. This project has just become much more enjoyable!
-Jim
---------------------------------------------
GBPVR Website
GBPVR Wiki
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Windows FM Radio support in v5. mvallevand 125 25,858 2023-01-29, 08:13 PM
Last Post: mvallevand
  Problems with Windows UWP App spitefulgod 4 3,762 2016-12-15, 08:35 PM
Last Post: spitefulgod
  Any ideas about programming for Windows Firewall? bgowland 4 5,543 2014-04-10, 09:05 AM
Last Post: bgowland
  What causes a new tuner to be used services/live?channel= psycik 2 2,251 2014-02-04, 05:32 PM
Last Post: psycik
  Web services information psycik 22 7,494 2013-12-05, 10:31 PM
Last Post: mvallevand
  Windows Shortcuts ACTCMS 4 2,680 2012-03-24, 12:22 AM
Last Post: mvallevand
  Creating a Windows service McBainUK 8 3,331 2011-03-30, 03:29 AM
Last Post: mvallevand
  Using Windows file system shortcuts ACTCMS 0 1,776 2010-01-26, 11:45 PM
Last Post: ACTCMS
  Windows Media Connect - Storing stuff on a Home Server psycik 3 2,636 2009-09-29, 03:47 AM
Last Post: mvallevand
  Amazon Web Services and On Demand mkenyon2 1 1,520 2008-09-22, 06:14 PM
Last Post: quix

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode