Thresher 1.2 Class Documentation

DccChatSession.Accept Method 

When another a remote user has sent a chat request, this method is called to accept the request and start a chat session with that user.

[Visual Basic]
Public Shared Function Accept( _
   ByVal dccUserInfo As DccUserInfo _
) As DccChatSession
[C#]
public static DccChatSession Accept(
   DccUserInfo dccUserInfo
);

Parameters

dccUserInfo
A collection of information about the remote user.

Return Value

The DccChatSession instance for this session.

Remarks

This method should be called from within a try/catch block because there are many things that could prevent this connection attempt from succeeding.

See Also

DccChatSession Class | Sharkbite.Irc Namespace