You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have made a c# application that expose a WCF service and I would like to advertise that service in Windows using SSDP.
My Question: - what do I have to do so that it becomes visible in the Network Explorer (in the green circle in the attached screenshot) (similar to the 2 synology NAS's)
Here is what I currently do :
From the examples, I was able to make the server example work:
// Create the device(s) we want to publish.varurl=newUri("http://192.168.0.245:8181/");varrootDevice=newSsdpRootDevice(){DeviceType="Basic",FriendlyName="Sample RSSDP Device",Manufacturer="RSSDP",ManufacturerUrl=newUri("https://github.com/Yortw/RSSDP"),ModelDescription="Test Device from RSSDP Console App",ModelName="RSSDP Sample Device",ModelNumber="123",ModelUrl=newUri("https://github.com/Yortw/RSSDP"),SerialNumber="123",CacheLifetime=TimeSpan.FromMinutes(30),PresentationUrl=newUri("http://192.168.0.245:8080/unit15/v1.0/"),Uuid=System.Guid.NewGuid().ToString(),UrlBase=url};varservice=newSsdpService(){ServiceType="Dummy",Uuid=System.Guid.NewGuid().ToString(),ServiceTypeNamespace="",ControlUrl=newUri("/dummy",UriKind.Relative),EventSubUrl=newUri("/dummy",UriKind.Relative),ScpdUrl=newUri("/ssdp/dummy.xml",UriKind.Relative)};rootDevice.AddService(service);rootDevice.Location=newUri(url,"ddd");
Hi
I have made a c# application that expose a WCF service and I would like to advertise that service in Windows using SSDP.
My Question: - what do I have to do so that it becomes visible in the Network Explorer (in the green circle in the attached screenshot) (similar to the 2 synology NAS's)
Here is what I currently do :
From the examples, I was able to make the server example work:
The HttpListener serves the above document just fine on http://192.168.0.245:8181/ddd.
Thanks!
The text was updated successfully, but these errors were encountered: