diff --git a/InSimDotNet/Out/OutClient.cs b/InSimDotNet/Out/OutClient.cs index 06bc602..f08e46f 100644 --- a/InSimDotNet/Out/OutClient.cs +++ b/InSimDotNet/Out/OutClient.cs @@ -33,6 +33,14 @@ public bool IsConnected { /// public TimeSpan Timeout { get; private set; } + /// + /// Gets or sets whether packet handlers should be marshalled back onto the original context. + /// + public bool ContinueOnCapturedContext { + get { return udpSocket.ContinueOnCapturedContext; } + set { udpSocket.ContinueOnCapturedContext = value; } + } + /// /// Creates a new instance of the class. ///