An RFC 3977 and RFC 4643 compliant NNTP client library for .NET, written in C#.
To use the library, you have two options:
NntpConnection
provides the library's lowest level of NNTP communication. The class only has 4 public methods:
NntpResponse Connect(string hostname, int port, bool useSsl);
NntpResponse ExecuteCommand(string command);
NntpMultilineResponse ExecuteMultilineCommand(string command, int validCode);
void Close();
With this, you can execute commands independently and inspect the responses directly. Using this will give you full control, but will also require some knowledge of the NNTP protocol and its commands. All commands are implemented as extension methods to INntpConnection
and will call either ExecuteCommand
or ExecuteMultilineCommand
with the correct parameters.
Description for NntpClient
is coming soon...