WCF supports some interoperability bindings. Does any of these bindings allow to communicate with kernel mode sw?
AFAIK kernel mode sw can open named pipes, in the Local System
security context. Are th开发者_运维百科ose named pipes interoperable with WCF?
Yes, you should be able to use the Named Pipes Binding in WCF to communicate with the Kernel Mode Software.
While it may be possible, it definitely won't be easy. Creating the WCF Service to serve the data over named pipes and a consumer won't be difficult.
Message Framing in WCF is where you are going to hit your snag. Your client will have to properly frame everything so that WCF can understand what you're trying to call. Here's a link detailing everything if you really want to give it a shot (I link to the last entry so you have links to the rest of the series as well).:
Message Framing, Part 7
精彩评论