Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

C# application like OS

os c#

This topic has been archived. This means that you cannot reply to this topic.
16 replies to this topic

#13 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts

Posted 29 August 2014 - 08:16 AM

If it's a monitoring system, then you should be able to send a "shut down" signal to your app remotely, I would think. Or is the issue just that you want a clean startup if something happens to accidentally shut it down?

 

The whole thing sounds a little odd, as you're going to want to be able to run various system updates, etc. It's also starting to sound like you just need to run a service, where no one logs in at all.


Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#14 UGP

UGP

    CC Newcomer

  • Member
  • PipPip
  • 18 posts

Posted 29 August 2014 - 08:31 AM

I have a push bottom for shut down but my problem is accidentally shut down.

Windows can not handle sudden shut down and on accidental shut down I should wait 30 second and it is not good for my user.



#15 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts

Posted 29 August 2014 - 11:22 AM

I'm kind of confused. Is this app something like a status monitor somewhere that users look at, but don't interact with, or does it just sit in a server room someplace processing information?


Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#16 UGP

UGP

    CC Newcomer

  • Member
  • PipPip
  • 18 posts

Posted 29 August 2014 - 05:27 PM

I have one mini pc with 8" display.

I read data with Ethernet (Socket) and display on monitor.(Processing on mini PC because at the other side of my network I have a data logger no computer) 



#17 BlackRabbit

BlackRabbit

    CodeCall Legend

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 3871 posts

Posted 29 August 2014 - 05:49 PM

Okay, then what you need is to remotely shut up the computer via TCP/IP.

Then you also want to catch accidental shut downs?

And you need to configure the shut down window, is that it?

 

As you've been told, in first instance, what you need is to compile your code as windows service, and then when installed, have it with admin permissions so you can listen and act over system events like the shut down.






Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download