OpenHome.Net.Device.Providers.DvProviderUpnpOrgConnectionManager1.EnableActionGetProtocolInfo C# (CSharp) Method

EnableActionGetProtocolInfo() protected method

Signal that the action GetProtocolInfo is supported.
The action's availability will be published in the device's service.xml. GetProtocolInfo must be overridden if this is called.
protected EnableActionGetProtocolInfo ( ) : void
return void
        protected void EnableActionGetProtocolInfo()
        {
            OpenHome.Net.Core.Action action = new OpenHome.Net.Core.Action("GetProtocolInfo");
            action.AddOutputParameter(new ParameterRelated("Source", iPropertySourceProtocolInfo));
            action.AddOutputParameter(new ParameterRelated("Sink", iPropertySinkProtocolInfo));
            iDelegateGetProtocolInfo = new ActionDelegate(DoGetProtocolInfo);
            EnableAction(action, iDelegateGetProtocolInfo, GCHandle.ToIntPtr(iGch));
        }