Inheritance: OpenHome.Net.ControlPoint.SyncProxyAction
Example #1
0
        /// <summary>
        /// Invoke the action synchronously
        /// </summary>
        /// <remarks>Blocks until the action has been processed
        /// on the device and sets any output arguments</remarks>
        /// <param name="aKey"></param>
        public void SyncGetPublicKey(out String aKey)
        {
            SyncGetPublicKeyRaumfeldComConfigService1 sync = new SyncGetPublicKeyRaumfeldComConfigService1(this);

            BeginGetPublicKey(sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
            aKey = sync.Key();
        }
 /// <summary>
 /// Invoke the action synchronously
 /// </summary>
 /// <remarks>Blocks until the action has been processed
 /// on the device and sets any output arguments</remarks>
 /// <param name="aKey"></param>
 public void SyncGetPublicKey(out String aKey)
 {
     SyncGetPublicKeyRaumfeldComConfigService1 sync = new SyncGetPublicKeyRaumfeldComConfigService1(this);
     BeginGetPublicKey(sync.AsyncComplete());
     sync.Wait();
     sync.ReportError();
     aKey = sync.Key();
 }