OpenHome.Net.ControlPoint.Proxies.CpProxyUpnpOrgConnectionManager1.SyncGetCurrentConnectionInfo C# (CSharp) Method

SyncGetCurrentConnectionInfo() public method

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncGetCurrentConnectionInfo ( int aConnectionID, int &aRcsID, int &aAVTransportID, String &aProtocolInfo, String &aPeerConnectionManager, int &aPeerConnectionID, String &aDirection, String &aStatus ) : void
aConnectionID int
aRcsID int
aAVTransportID int
aProtocolInfo String
aPeerConnectionManager String
aPeerConnectionID int
aDirection String
aStatus String
return void
        public void SyncGetCurrentConnectionInfo(int aConnectionID, out int aRcsID, out int aAVTransportID, out String aProtocolInfo, out String aPeerConnectionManager, out int aPeerConnectionID, out String aDirection, out String aStatus)
        {
            SyncGetCurrentConnectionInfoUpnpOrgConnectionManager1 sync = new SyncGetCurrentConnectionInfoUpnpOrgConnectionManager1(this);
            BeginGetCurrentConnectionInfo(aConnectionID, sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
            aRcsID = sync.RcsID();
            aAVTransportID = sync.AVTransportID();
            aProtocolInfo = sync.ProtocolInfo();
            aPeerConnectionManager = sync.PeerConnectionManager();
            aPeerConnectionID = sync.PeerConnectionID();
            aDirection = sync.Direction();
            aStatus = sync.Status();
        }