Example #1
0
        public async Task <bool> GetAutoReconnectStateAsync()
        {
            NetIpcAutoReconnectResponseMessage msg = (NetIpcAutoReconnectResponseMessage) await SendRequest(new IpcMessage(IpcMessageType.NetIpcAutoReconnectRequest), IpcMessageType.NetIpcAutoReconnectResponse);

            return(msg.Enabled);
        }
Example #2
0
 private void HandleAutoReconnectStateMessage(NetIpcAutoReconnectResponseMessage message)
 {
     AutoReconnectChanged?.Invoke(this, message.Enabled);
 }