OpenHome.Net.ControlPoint.Proxies.CpProxyUpnpOrgContentDirectory1.SyncGetSourceInfo C# (CSharp) Метод

SyncGetSourceInfo() публичный Метод

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncGetSourceInfo ( String aSourceID, uint &aNumTracks, uint &aTotalSize, uint &aTotalDuration, uint &aScanProgress, String &aIndexerResult ) : void
aSourceID String
aNumTracks uint
aTotalSize uint
aTotalDuration uint
aScanProgress uint
aIndexerResult String
Результат void
        public void SyncGetSourceInfo(String aSourceID, out uint aNumTracks, out uint aTotalSize, out uint aTotalDuration, out uint aScanProgress, out String aIndexerResult)
        {
            SyncGetSourceInfoUpnpOrgContentDirectory1 sync = new SyncGetSourceInfoUpnpOrgContentDirectory1(this);
            BeginGetSourceInfo(aSourceID, sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
            aNumTracks = sync.NumTracks();
            aTotalSize = sync.TotalSize();
            aTotalDuration = sync.TotalDuration();
            aScanProgress = sync.ScanProgress();
            aIndexerResult = sync.IndexerResult();
        }