OpenHome.Net.ControlPoint.Proxies.CpProxyOpenhomeOrgTestBasic1.SyncSetBinary C# (CSharp) Method

SyncSetBinary() public method

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncSetBinary ( byte aValueBin ) : void
aValueBin byte
return void
        public void SyncSetBinary(byte[] aValueBin)
        {
            SyncSetBinaryOpenhomeOrgTestBasic1 sync = new SyncSetBinaryOpenhomeOrgTestBasic1(this);
            BeginSetBinary(aValueBin, sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
        }