title: How to discover onvif devices in C#
body: <p>I'm developing an application that will probe  ONVIF devices attached on network for auto-discovery. According to ONVIF Core specification SOAP format of Probe message is :</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;e:Envelope xmlns:e="http://www.w3.org/2003/05/soap-envelope"
  xmlns:w="http://schemas.xmlsoap.org/ws/2004/08/addressing"
  xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery"
  xmlns:dn="http://www.onvif.org/ver10/network/wsdl"&gt;
  &lt;e:Header&gt;
  &lt;w:MessageID&gt;uuid:84ede3de-7dec-11d0-c360-f01234567890&lt;/w:MessageID&gt;
  &lt;w:To e:mustUnderstand="true"&gt;urn:schemas-xmlsoap-org:ws:2005:04:discovery&lt;/w:To&gt;
  &lt;w:Action
  a:mustUnderstand="true"&gt;http://schemas.xmlsoap.org/ws/2005/04/discovery/Pr
  obe&lt;/w:Action&gt;
  &lt;/e:Header&gt;
  &lt;e:Body&gt;
  &lt;d:Probe&gt;
  &lt;d:Types&gt;dn:NetworkVideoTransmitter&lt;/d:Types&gt;
  &lt;/d:Probe&gt;
  &lt;/e:Body&gt;
  &lt;/e:Envelope&gt;
  </code></pre>
  
  <p>How can i send this message in WCF to discover onvif deivce?</p>