title: How to get device information using Onvif library c#?
body: <p>I am making a c# windows application which collects the devices connected to my network using an open source library Onvif.</p>
  
  <p>i am doing in this way.</p>
  
  <pre><code>    ServicePointManager.Expect100Continue = false;
      var endPointAddress = new EndpointAddress("http://ip_address:port/onvif/device_service");
      var httpBinding = new HttpTransportBindingElement();            
      var bind = new CustomBinding(httpBinding);
      var temp = new DeviceClient(bind, endPointAddress);
      var request = new GetDeviceInformationRequest();
      var response = temp.GetDeviceInformation(request); ////// Error Here described bellow
      string firm = response.FirmwareVersion;
      string manu = response.Manufacturer;
      string serial = response.SerialNumber;
      string model = response.Model;
  </code></pre>
  
  <p>Error Message :: There was no endpoint listening at http:// something:port/onvif/device_service that could accept the message.this is often caused by an incorrect address or SOAP action</p>
  
  <p>can any one help me?</p>
  
  <p>I think i am not making proper connection with the server, is it so?
  if so then how to resolve it?</p>