//--// public DpwsDeviceDiscoService(ProtocolVersion v) : base(v) { string wsdNamespace = v.DiscoveryNamespace; // Set the service type name to internal to hide from discovery services ServiceTypeName = "Internal"; // Set service namespace ServiceNamespace = new WsXmlNamespace(WsNamespacePrefix.Wsd, wsdNamespace); // Set endpoint address EndpointAddress = v.DiscoveryWellKnownAddress; // Add Discovery service operations ServiceOperations.Add(new WsServiceOperation(wsdNamespace, "Probe")); ServiceOperations.Add(new WsServiceOperation(wsdNamespace, "Resolve")); m_discovery = new DpwsDeviceDiscovery(v); }