IrcClientConnectionOptions SynchronizationContext Property NetIRC2 IRC Client Library for .NET
The synchronization context for the connection. If this is null, IRC events will be raised in an arbitrary thread. If this is not null, all IRC events will be posted to the synchronization context. By default, the synchronization context is captured at construction time. What this means: If you create and use the IRC client from a Windows Forms, WPF, or other GUI thread, events will be raised on the same thread and you will not have to worry about multithreading at all.

Namespace: NetIrc2
Assembly: NetIrc2 (in NetIrc2.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public SynchronizationContext SynchronizationContext { get; set; }
See Also