Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/khellang/nntplib.net
An RFC 3977 and RFC 4643 compliant NNTP client library for .NET, written in C#
https://github.com/khellang/nntplib.net
Last synced: about 2 months ago
JSON representation
An RFC 3977 and RFC 4643 compliant NNTP client library for .NET, written in C#
- Host: GitHub
- URL: https://github.com/khellang/nntplib.net
- Owner: khellang
- License: apache-2.0
- Created: 2013-09-11T14:44:15.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-09T11:36:44.000Z (almost 11 years ago)
- Last Synced: 2024-11-10T08:48:43.970Z (2 months ago)
- Language: C#
- Homepage:
- Size: 619 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NntpLib.Net
An [RFC 3977](http://tools.ietf.org/pdf/rfc3977.pdf) and [RFC 4643](http://tools.ietf.org/pdf/rfc4643.pdf) compliant NNTP client library for .NET, written in C#.## Usage
To use the library, you have two options:
### 1. NntpConnection
`NntpConnection` provides the library's lowest level of NNTP communication. The class only has 4 public methods:
```csharp
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.
### 2. NntpClient
Description for `NntpClient` is coming soon...
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/khellang/nntplib.net/trend.png)](https://bitdeli.com/free "Bitdeli Badge")