For an IpHttpServerChannelbased HTTP server I can do something like
string remoteAddress = (this.ServerChannel as IpHttpServerChannelInfo)?.RemoteEndPoint?.Address?.ToString() ?? string.Empty;
in a call to get the IP address.
How do I access to RemoteEndpoint for a IpSuperHttpServerChannel based server?
The this.ServerChannel has a RemoteEndpoint property but I need a cast and the class itself is protected so below statement does not compile
var channel = (this.ServerChannel as RemObjects.SDK.Server.SuperHttpServerChannel.SuperHttpRequestQueueItem);
var endpoint=channel.RemoteEndpoint;