Internet Direct (Indy) Version 9.0.2 Beta
|
procedure GetNewNewsList(const ANewsgroups: string; const ADate: TDateTime; const AGMT: boolean; ADistributions: string); overload; procedure GetNewNewsList(const ANewsgroups: string; const ADate: TDateTime; const AGMT: boolean; ADistributions: string; AList: TStrings); overload;
Set AGMT to True to indicate that the time is based on Greenwich Mean Time or Universal Time (0 meridian) or false for the local time-zone.
ANewsgroups is a list of newsgroups. ADistributions is an optional list of distributions such as "nj", "dc".
There are two ways to retrieve the list of newsgroups. First, call GetNewNewsList without the AList parameter and use the OnNewNewsList. As an alternative, call the GetNewNewsList with the AList parameter and AList will contain the results.