Ping() публичный Метод

public Ping ( ) : void
Результат void
Пример #1
0
        public EntryPoint(RemoteHooking.IContext inContext, string inChannelName, OverlayConfig overlayConfig)
        {
            _interface = RemoteHooking.IpcConnectClient<OverlayInterface>(inChannelName);
            _interface.Ping();

            IDictionary properties = new Hashtable();
            properties["name"] = inChannelName;
            properties["portName"] = inChannelName + Guid.NewGuid()
                                                         .ToString("N");

            var provider = new BinaryServerFormatterSinkProvider();
            provider.TypeFilterLevel = TypeFilterLevel.Full;

            _serverChannel = new IpcServerChannel(properties, provider);
            ChannelServices.RegisterChannel(_serverChannel, false);
        }