Kittyfisto / SharpRemote

A .NET remoting library
MIT License
12 stars 5 forks source link

Allow rejection of incoming connections #64

Open Kittyfisto opened 5 years ago

Kittyfisto commented 5 years ago

It shall be possible to hook into the process of processing an incoming connection and rejecting it. Example usage:

This shall be done by implementing a new interface which offers a single callback method:

public interface IConnectionInspector
{
    [Pure]
    bool AllowIncomingConnection(EndPoint remoteEndPoint);
}