我需要使用C#管理DNS服务器的示例 [英] I need sample for manage DNS server using C#

查看:99
本文介绍了我需要使用C#管理DNS服务器的示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用C#管理DNS服务器的示例,添加记录,删除,更新.

I need sample for manage DNS server using C# , adding records , delete , update .

推荐答案

您好,ma.fawzy.it,

Hi ma.fawzy.it,

谢谢您在这里发布.

根据我的搜索,这是一个有关的简单示例 使用WMI添加记录.

Based on my search, here is a simple example about to use WMI to add a record.

在MSDN文章 DNS WMI提供程序示例-管理DNS资源记录.在文章中,其中的某些部分很有用.

In MSDN article DNS WMI Provider Samples-Managing DNS Resource Records. In article, some parts in it are useful.

1.添加资源记录.

2.删除资源记录.

3.修改资源记录.

在本文中,代码使用vb,这是 代码转换将vb转换为C#.

In the article, the code use vb, here is the Code Convert to convert vb to C#.

我希望这会对您有所帮助.

I hope this would be helpful to you.

如果还有其他问题,请随时与我们联系.

If you have something else, please feel free to contact us.

最好的问候,

温迪


这篇关于我需要使用C#管理DNS服务器的示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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