如何在C#中创建引导加载程序 [英] How to create a boot loader in C#

查看:82
本文介绍了如何在C#中创建引导加载程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想在C#中为windows创建一个完整的启动加载器。我正在学习C#,但我不知道任何有关启动加载器的事情。请帮我创建它..我不知道如何制作它..

解决方案

你不是。你不打算在C#或任何其他托管语言中编写引导加载程序。



.NET Framework,你的C#代码完全依赖于什么,需要Windows为了运行。引导加载程序在任何操作系统启动之前执行。因此,没有Windows意味着没有.NET Framework,这意味着不会执行C#代码。



您必须使用可靠的语言或C来编写引导加载程序。

试试这个链接如何开发自己的链接引导装载程序 [ ^ ]

Hi,
I want to create a complete boot loader in C# for windows.I am learning C# but i don''t know any thing about boot loaders. please help me to create it.. i don''t know how to make one..

解决方案

You don''t. You''re not going to write a boot loader in C# or any other managed lanage.

The .NET Framework, what your C# code is completely dependent on, requires Windows in order to run. Boot loaders execute before any operating system even starts. So, no Windows means no .NET Framework which means no C# code will execute.

You have to use assmebly language or C to write a boot loader.


Try this link How to develop your own Boot Loader[^]


这篇关于如何在C#中创建引导加载程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆