Метод | Описание | |
---|---|---|
ArticleExists ( string messageId ) : bool |
Gets whether or not the article is available to download.
|
|
ArticleExists ( ulong articleId ) : bool |
Gets whether or not the article is available to download.
|
|
Authenticate ( string user, string pass ) : void |
Authenticates credentials against the current server.
|
|
Client ( ) : System |
Creates a new intance of the client.
|
|
Close ( ) : |
Closes the connection & returns the statistics of the session.
|
|
Connect ( string hostname, int port, bool ssl ) : void |
Opens a connection to the given usenet server on the specified port, and whether or not to use ssl.
|
|
Date ( ) : System.DateTime |
Gets the current UTC date/time on the server.
|
|
Dispose ( ) : void |
Closes the connection & disposes of managed resources.
|
|
GetArticle ( string messageId, bool bodyOnly = false ) : |
Downloads an article from usenet with the given ID. Returns null if the article could not be found.
|
|
GetArticle ( ulong articleId, bool bodyOnly = false ) : |
Downloads an article from usenet with the given ID. Returns null if the article could not be found.
|
|
GetGroups ( ) : IEnumerable |
Returns a collection of available usenet groups.
|
|
GetHeaders ( string messageId ) : string>.Dictionary |
Fetches only the headers of a message with the given message ID.
|
|
GetHeaders ( ulong articleId ) : string>.Dictionary |
Fetches only the headers of a message with the given article ID.
|
|
GetOverviewFormat ( ) : IEnumerable |
Fetches all overview fields supported by the server as a list.
|
|
GetXOverview ( ulong articleStart, ulong articleEnd ) : IEnumerable |
Fetches overview database information from a group within a given range of article ids. A call to SetGroup must be made before calling this method or it will fail.
|
|
SetGroup ( string groupName ) : Group |
Sets the current usenet group pointer.
|
|
SetGroup ( Group group ) : bool |
Sets the current usenet group pointer.
|
Метод | Описание | |
---|---|---|
CleanUp ( ) : void | ||
ProcessArticle ( |
||
ReadHeader ( ) : string>.Dictionary |
||
SetMode ( string mode ) : void |
public ArticleExists ( string messageId ) : bool | ||
messageId | string | Message-ID of the article |
Результат | bool |
public ArticleExists ( ulong articleId ) : bool | ||
articleId | ulong | |
Результат | bool |
public Authenticate ( string user, string pass ) : void | ||
user | string | Usenet username |
pass | string | Usenet password |
Результат | void |
public Connect ( string hostname, int port, bool ssl ) : void | ||
hostname | string | Usenet hostname |
port | int | Port to connect on |
ssl | bool | Uses a secure connection if true |
Результат | void |
public GetArticle ( string messageId, bool bodyOnly = false ) : |
||
messageId | string | |
bodyOnly | bool | Whether or not to pull down headers with the article or not. |
Результат |
public GetArticle ( ulong articleId, bool bodyOnly = false ) : |
||
articleId | ulong | |
bodyOnly | bool | Whether or not to pull down headers with the article or not. |
Результат |
public GetHeaders ( string messageId ) : string>.Dictionary |
||
messageId | string | Message Id |
Результат | string>.Dictionary |
public GetHeaders ( ulong articleId ) : string>.Dictionary |
||
articleId | ulong | Article Id |
Результат | string>.Dictionary |
public GetOverviewFormat ( ) : IEnumerable |
||
Результат | IEnumerable |
public GetXOverview ( ulong articleStart, ulong articleEnd ) : IEnumerable |
||
articleStart | ulong | The start of the article range to pull overview information for. |
articleEnd | ulong | The end of the article range to pull overview information for. |
Результат | IEnumerable |
public SetGroup ( string groupName ) : Group | ||
groupName | string | |
Результат | Group |