OpenHome.Net.Runner.PrintDeviceInfo C# (CSharp) Method

PrintDeviceInfo() private method

private PrintDeviceInfo ( string aPrologue, ControlPoint aDevice ) : void
aPrologue string
aDevice ControlPoint
return void
        private void PrintDeviceInfo(string aPrologue, ControlPoint.ICpDevice aDevice)
        {
            string location;
            aDevice.GetAttribute("Upnp.Location", out location);
            string friendlyName;
            aDevice.GetAttribute("Upnp.FriendlyName", out friendlyName);
            Console.Write(aPrologue +
                          "\n    udn = " + aDevice.Udn() +
                          "\n    location = " + location +
                          "\n    name = " + friendlyName + "\n");
        }