SocketTools .NET Edition

GopherClient.OnItemList Event

Occurs when a directory listing of resources is requested from the server.

[Visual Basic]
Public Event OnItemList As OnItemListEventHandler
[C#]
public event OnItemListEventHandler OnItemList;

Event Data

The event handler receives an argument of type GopherClient.ItemListEventArgs containing data related to this event. The following GopherClient.ItemListEventArgs properties provide information specific to this event.

Property Description
Description Gets a string which describes the item.
HostName Gets a string which specifies the server where the item is located.
ItemType Gets a value which specifies the item type.
RemotePort Gets an integer value which specifies the server port number.
Selector A string value which specifies the item selector.

Remarks

The OnItemList event is generated for each item that is returned by the server when a directory item is selected. These selector values can be used to request a specific document.

See Also

GopherClient Class | SocketTools Namespace