OpenHome.Net.ControlPoint.Proxies.CpProxyRaumfeldComConfigService1.SyncGetPreferences C# (CSharp) Method

SyncGetPreferences() public method

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncGetPreferences ( String aPublicKey, String &aPreferences, uint &aRevision ) : void
aPublicKey String
aPreferences String
aRevision uint
return void
        public void SyncGetPreferences(String aPublicKey, out String aPreferences, out uint aRevision)
        {
            SyncGetPreferencesRaumfeldComConfigService1 sync = new SyncGetPreferencesRaumfeldComConfigService1(this);
            BeginGetPreferences(aPublicKey, sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
            aPreferences = sync.Preferences();
            aRevision = sync.Revision();
        }