纯C#写的DNS相关组件,包括各种解析包括邮件交换器等。就是找不到下载的地方,下面是介绍!!
http://www.hallogram.com/keytechdns/
Query DNS servers for MX and other resource records.
Query DNS servers for MX and all the other resource record types defined by RFC-1034 and RFC-1035. The DNS .NET class library makes it easy to retrieve the list of configured DNS servers, construct a DNS query request using the convenient message and resource record classes, send the request to a DNS server and receive the fully parsed response. Written in 100% managed C# code, the class library offers .NET developers complete access to DNS resources from within their applications.
The DNS .NET class library may be used in any Windows or Web application by adding a reference to the assembly to access the classes in the KeyTech.Dns namespace.
The DnsMessage class models DNS request and response messages. It makes it very easy to construct DNS requests and access DNS responses. A separate class describes each resource record type. Each resource record class is derived from the ResourceRecord abstract class.
The list of resource record classes includes:
ARecord
CNAMERecord
HINFORecord
MBRecord
MDRecord
MFRecord
MGRecord
MINFORecord
A catch all OtherRecord
MRRecord
MXRecord
NSRecord
NULLRecord
PTRRecord
SOARecord
TXTRecord
WKSRecord
The DnsClient class allows you to send DnsMessage requests and receive DnsMessage responses. Within the DnsMessage request you specify the DNS questions to ask. The DnsMessage response contains the lists of ResourceRecords.
You may send requests from within DnsClient either synchronously (blocking) using the Send method or asynchronously (non-blocking) using the BeginSend and EndSend methods. Similarly, responses may be received either synchronously (blocking) using the Receive method or asynchronously (non-blocking) using the BeginReceive and EndReceive methods. For asynchronous calls you may receive completion notification either through an event or a callback method. A timeout may be specified.
All classes that raise events support a SynchronizingObject property. All classes report errors through the DnsException.
KeyTech ICMP .NET Features
Microsoft .NET, C#, VB.NET, ASP.NET and VS.NET compatible
Supports RFC-1034/RFC-1035
No complicated DNS message construction or parsing
Specify the resource types to retrieve including all
Retrieve the list of configured DNS servers
Calling applications may make either synchronous or asynchronous calls
Asynchronous calls may either use events or callbacks
Specify a timeout
100% managed code written in C#
Object oriented design specifically for the .NET framework
All error handling through .NET exceptions
Comprehensive Visual Studio .NET style documentation
VB.NET and C# example source code
Includes prompt free email support
Royalty free runtime
This product is Electronically Delivered.
Query DNS servers for MX and other resource records.
Query DNS servers for MX and all the other resource record types defined by RFC-1034 and RFC-1035. The DNS .NET class library makes it easy to retrieve the list of configured DNS servers, construct a DNS query request using the convenient message and resource record classes, send the request to a DNS server and receive the fully parsed response. Written in 100% managed C# code, the class library offers .NET developers complete access to DNS resources from within their applications.
The DNS .NET class library may be used in any Windows or Web application by adding a reference to the assembly to access the classes in the KeyTech.Dns namespace.
The DnsMessage class models DNS request and response messages. It makes it very easy to construct DNS requests and access DNS responses. A separate class describes each resource record type. Each resource record class is derived from the ResourceRecord abstract class.
The list of resource record classes includes:
ARecord
CNAMERecord
HINFORecord
MBRecord
MDRecord
MFRecord
MGRecord
MINFORecord
A catch all OtherRecord
MRRecord
MXRecord
NSRecord
NULLRecord
PTRRecord
SOARecord
TXTRecord
WKSRecord
The DnsClient class allows you to send DnsMessage requests and receive DnsMessage responses. Within the DnsMessage request you specify the DNS questions to ask. The DnsMessage response contains the lists of ResourceRecords.
You may send requests from within DnsClient either synchronously (blocking) using the Send method or asynchronously (non-blocking) using the BeginSend and EndSend methods. Similarly, responses may be received either synchronously (blocking) using the Receive method or asynchronously (non-blocking) using the BeginReceive and EndReceive methods. For asynchronous calls you may receive completion notification either through an event or a callback method. A timeout may be specified.
All classes that raise events support a SynchronizingObject property. All classes report errors through the DnsException.
KeyTech ICMP .NET Features
Microsoft .NET, C#, VB.NET, ASP.NET and VS.NET compatible
Supports RFC-1034/RFC-1035
No complicated DNS message construction or parsing
Specify the resource types to retrieve including all
Retrieve the list of configured DNS servers
Calling applications may make either synchronous or asynchronous calls
Asynchronous calls may either use events or callbacks
Specify a timeout
100% managed code written in C#
Object oriented design specifically for the .NET framework
All error handling through .NET exceptions
Comprehensive Visual Studio .NET style documentation
VB.NET and C# example source code
Includes prompt free email support
Royalty free runtime
This product is Electronically Delivered.
...全文
相关推荐
c# DNS域名解析
自己通过向dns服务器发送request,接收response并且解析,把域名解析成ip。
C# DNS查询
C# 最简单实现DNS查询
C#源代码 使用Dns 内含 C#编写源代码
C#源代码 使用Dns 内含 C#编写源代码
c#调用域名解析实例
用C#开发程序,调用域名解析实例,用C#开发程序 用C#开发程
使用C#制作《邮件特快专递》VC源代码
Foxmail 新版中有一个《邮件特快专递》的功能。起先搞不懂如何用,后来知道要在“工具->系统选项”那边设置“本地 DNS 服务器的IP地址”。 觉得这个新功能蛮好用的。不需要通过SMTP代理,可以直接通过本地往邮箱所在的邮件交换器发送邮件。在暑假一开始想在 VC++ 中实现这个功能。用 IRIS 截包后,发现程序中有 发送邮箱,不知道这个是什么东西,所以作罢。后来才想到这个就是 的MX记录主机,原来特快专递的原理就是往这个主机上发送数据就行。 关键字:smtp,mail,rfc,csharp,foxmail


