C#算法中的DNS算法 [英] DNS Algorithm In C# Algorithm

查看:106
本文介绍了C#算法中的DNS算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何编写dns算法代码
我需要Dns的算法"吗?

How Can Write Code of dns Algorithm
I need To "Algorithm" Of Dns ?

推荐答案

请参阅Mark Merrens对这个问题的评论.这个问题还不清楚.
不过,请查看相关的.NET类:System.Net.DnsSystem.Net.DnsEndPointSystem.Net.DnsPermission;请参阅:
http://msdn.microsoft.com/en-us/library/btdf6a7e [ ^ ].

您还需要什么?需要源代码以查看其工作原理?实际上,.NET源代码是可用的,但是它是以我们只能将其用于调试目的的方式获得许可的,几乎是这样.但是,如果您只是想学习事物的工作原理,那么对您来说就足够了.请参阅此文章:
http: //blogs.msdn.com/b/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx [ http://www.ecma-international.org/publications/standards/Ecma-335.htm [^ ],
http://en.wikipedia.org/wiki/Mono_%28software%29 [ ^ ],
http://www.mono-project.com/Main_Page [ http://download.mono-project.com/sources/ [ ^ ].

顺便说一句,我个人发现使用这些东西并不难.为了解决与兼容性相关的问题,我什至设法将.NET和Mono源代码混合在一个.NET程序集中,并指出并解决了这些问题.

—SA
Please see the comment to this question by Mark Merrens. The question is completely unclear.
Nevertheless, look at the relevant .NET classes: System.Net.Dns, System.Net.DnsEndPoint, System.Net.DnsPermission; please see:
http://msdn.microsoft.com/en-us/library/btdf6a7e[^].

What else may you need? Need source code to see how its works? In fact, .NET source code is available, but it is licensed the way we can only use it for debugging purposes, pretty much so. Nevertheless, it should be enough for you if you just want to learn how things work. Please see this article:
http://blogs.msdn.com/b/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx[^].

There is an alternative way: you can freely download source code of Mono, alternative open-source CLR implementation and learn it. The code in the namespace System.Net is supposed to be compliant to the ECMA-335 standard, partition III, so it should be fully compatible with Microsoft .NET. Please see:
http://www.ecma-international.org/publications/standards/Ecma-335.htm[^],
http://en.wikipedia.org/wiki/Mono_%28software%29[^],
http://www.mono-project.com/Main_Page[^].

You can download the source code here: http://download.mono-project.com/sources/[^].

By the way, I personally found that working with this stuff was not so hard. For troubleshooting of compatibility-related problems, I even managed to mix .NET and Mono source code in one .NET assembly and pin-pointed and resolved the problems.

—SA


这篇关于C#算法中的DNS算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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