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

#1 UGP

UGP

    CC Newcomer

  • Member
  • PipPip
  • 18 posts

Posted 22 August 2014 - 08:59 AM

Hello,

I make an application (win forms) with C# VS2012.

Now I want to boot my computer with this application.

In my application I use socket.

 

 

Is it possible?



#2 BlackRabbit

BlackRabbit

    CodeCall Legend

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 3871 posts

Posted 22 August 2014 - 07:23 PM

Are you asking if you could reboot the pc, from that form, remotely via TCP/IP messaging? If so the answer is yes.



#3 UGP

UGP

    CC Newcomer

  • Member
  • PipPip
  • 18 posts

Posted 28 August 2014 - 03:02 AM

No,

When user turn on computer instead of windows, computer boot with my program.



#4 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts

Posted 28 August 2014 - 04:22 AM

So, you want to write your own operating system in C#?


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

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


#5 UGP

UGP

    CC Newcomer

  • Member
  • PipPip
  • 18 posts

Posted 28 August 2014 - 04:24 AM

Hello,

Yes,How can I do it?



#6 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts

Posted 28 August 2014 - 08:02 AM

Do you know anything about writing an operating system, device drivers, etc? It seems like a much better idea to set the computer up as a kiosk where it auto-logs into Windows and displays your app as a fullscreen app with no ability to switch away from it.


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

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


#7 BlackRabbit

BlackRabbit

    CodeCall Legend

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 3871 posts

Posted 28 August 2014 - 12:09 PM

This is an open source project about the subject.

 

Still, what you want to do sounds not "naturally" possible since C# runs on a virtual machine. So, for executing a C# compiled code you need a previously existent virtual machine, which is not how a O.S works.

 

I said naturally, because you can trick your way, and make a new compiler for C# code...  Still, what you can do is to launch your program after login, and let no other thing to run (which is very annoying) but you can do it for specific users.



#8 UGP

UGP

    CC Newcomer

  • Member
  • PipPip
  • 18 posts

Posted 28 August 2014 - 10:40 PM

I can change windows registry.

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Shell

 

But I have some problem:

1-Login page: I can not remove it complitly

2-Turn offing computer: User should use shut down method for safe turn offing. (Recovery page appear on booting)



#9 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts

Posted 29 August 2014 - 04:23 AM

You can bypass the login page by having Windows auto-login as a particular user. You can also have your program have a button to initiate system shutdown.


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

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


#10 UGP

UGP

    CC Newcomer

  • Member
  • PipPip
  • 18 posts

Posted 29 August 2014 - 04:28 AM

You can bypass the login page by having Windows auto-login as a particular user. You can also have your program have a button to initiate system shutdown.

 

Thanks,

I don't have mouse and keyboard.

 

Only I have display and a push bottom key.



#11 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts

Posted 29 August 2014 - 06:43 AM

Wait, there's NO user interface at all?


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

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


#12 UGP

UGP

    CC Newcomer

  • Member
  • PipPip
  • 18 posts

Posted 29 August 2014 - 06:47 AM

No interface.

It is monitoring system then no one can interact with it.






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