[英]Retrieve calling application name in wcf
有没有办法在wcf服务中检索调用应用程序的名称?
The ServiceSecurityContext would be the place to start, but I'd be very surprised if such a thing exists. ServiceSecurityContext将是开始的地方,但是如果存在这样的事情,我会感到非常惊讶。
If you require this by your client think about adding message headers and force them to insert a client application name, or - if you don't trust anybody - give them separate certificates and use them to find out "who" is calling you. 如果客户要求,可以考虑添加消息头,并强迫它们插入客户端应用程序名称,或者-如果您不信任任何人,请给他们单独的证书,并使用它们来查找“谁”正在呼叫您。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.