OpenHome.Net.Core.PropertyBinary.Value C# (CSharp) Méthode

Value() public méthode

Query the value of the property
public Value ( ) : byte[]
Résultat byte[]
        public byte[] Value()
        {
            IntPtr pData;
            uint len;
            if (ServicePropertyGetValueBinary(iHandle, out pData, out len) == -1)
                throw new PropertyError();
            byte[] data = new byte[len];
            Marshal.Copy(pData, data, 0, (int)len);
            OhNetFree(pData);
            return data;
        }