public FlashConnector(FlashWrapper flashWrapper, string flashSessionID)
        {
            _flashWrapper = flashWrapper;
            _flashSessionID = flashSessionID ?? string.Empty;
            _callbackTable = new Dictionary<string, MethodInfo>();
            _log = LogManager.GetLogger(GetType());

            if (flashWrapper != null)
            {
                _flashWrapper.FlashCall += FlashWrapper_FlashCall;
            }
        }
 public void Unregister()
 {
     if (_flashWrapper != null)
     {
         _flashWrapper.FlashCall -= FlashWrapper_FlashCall;
         _flashWrapper = null;
     }
 }