Service Contract to remote control Osterwalder Powder Press Cells
License
—
Deps
1
Install Size
—
Vulns
✓ 0
Published
Nov 14, 2024
$ dotnet add package Osterwalder.RemoteControlService.WcfRemoteControlService allows to remote control Osterwalder Powder Press Cells.
It is based on Microsoft Windows Communication Foundation.
RCS requires a license to be enabled on the press cell to accept connections.
The following packages are required to establish a connection:
You need to provide an implementation of IRemoteControlServiceEvents which handles the event notifications from the remote control service.
var callback = new RemoteControlServiceEventHandler();
var channelFactory = new DuplexChannelFactory<IRemoteControlService>(
new InstanceContext(callback),
new NetTcpBinding(SecurityMode.None),
new EndpointAddress("net.tcp://hostname:8001/RemoteControlService"));
var channel = channelFactory.CreateChannel();