Identifying the client during a .NET remoting invocation
One of the things you can do is identify a client by IP address by implementing an IServerChannelSinkProvider. Add this class to your remoting host project: ClientIPServerSinkProvider.cs using System; using System.Collections; using System.IO; using System.Runtime.Remoting; using System.Runtime.Remoting.Messaging; using System.Runtime.Remoting.Channels; using System.Threading; using System.Net; namespace MyRemotingEnvironment { public class ClientIPServerSinkProvider : IServerChannelSinkProvider { private IServerChannelSinkProvider _nextProvider … Read more