Search code examples
c#wcfwindows-runtimews-discovery

Performing WS-Discovery from within WinRT


I'd like to use WS-Discovery from within a WinRT application I'm developing, but this doesn't appear to be available. Whilst it's available within the .Net Frameworks's WCF 4.0, they appear to have ommitted it from WinRT.

Since it's WinRT, I cannot reference System.ServiceModel.Discovery.

Can anyone recommend an alternative? I could probably implement a basic version of this standard myself, but would like to avoid the work if I can. It might make a nice OSS project.


Solution

  • WS-Discovery isn't supported by the WinRT API.

    The API does support UDP Multicasting, so I can use that to perform peer discovery.