OpenHome.Net.Core.PropertyBinary.SetValue C# (CSharp) Method

SetValue() public method

Set the value of the property
public SetValue ( byte aData ) : bool
aData byte New value for the property
return bool
        public bool SetValue(byte[] aData)
        {
            uint changed;
            GCHandle h = GCHandle.Alloc(aData, GCHandleType.Pinned);
            changed = ServicePropertySetValueBinary(iHandle, h.AddrOfPinnedObject(), (uint)aData.Length);
            h.Free();
            return (changed != 0);
        }
    }