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

SyncGetPublicKey() public method

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncGetPublicKey ( String &aKey ) : void
aKey String
return void
        public void SyncGetPublicKey(out String aKey)
        {
            SyncGetPublicKeyRaumfeldComConfigService1 sync = new SyncGetPublicKeyRaumfeldComConfigService1(this);
            BeginGetPublicKey(sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
            aKey = sync.Key();
        }