Net able to get location from fullDevice
See original GitHub issueI have added the simple search example to a project and when run it devices are found.
But I am not able to access location in fullDevice in order to get to the IP address.
This line works
Console.WriteLine(fullDevice.FriendlyName);
but intellisense will not give me location so I can get to host
Console.WriteLine(fullDevice.Location);
but in debug I can see Location and within that I can see Host.
I am trying to build a list of Heos devices with their IP addresses.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Geolocation - .NET MAUI
Use the GetLocationAsync method to query the device for the current location. You can configure the accuracy and timeout of the query. It's...
Read more >GeoCoordinateWatcher Class (System.Device.Location)
Supplies location data that is based on latitude and longitude coordinates. ... The following program shows how to receive continuous location updates by ......
Read more >Get the full name of a waveIn device
NET : Dim wain = New WaveIn() Dim DeviceInfoI As WaveInCapabilities Dim nomedevice ... Using NAudio, i use this code to get full...
Read more >How to get current exact location in android without internet ...
I want to get current exact location coordinates in android. I am able to get the location if mobile is connected to Wifi...
Read more >Get the last known location
This lesson shows you how to make a single request for the location of a device using the getLastLocation() method in the fused...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you very much for this Yortw, this has me setup just perfect. Awesome lib you got. Thanks again.
@SiyerBOBO You probably should create a new issue for this. However, in short, what you need to do is create an SsdpRootDevice, fill in the properties and then add it to an instance of SsdpDevicePublisher. The SsdpRootDevice includes a property for your to specify the ‘base address’ which is the path your HTTP server uses to serve the XML document, or you can call methods on the SsdpDevicePublisher instance to create the XML for you if yor prefer.
When you create the SsdpPublisher instance you can pass in an ip address and that will be the address the publisher responds to search requests on (and broadcasts notifications). Make sure that address matches whatever is in the XML your serve.