OpenHome.Net.ControlPoint.ArgumentBinary.Value C# (CSharp) Method

Value() private method

Read the value of a binary argument.
Only intended for use with output arguments inside the invocation completed callback. Can only be called once as the first call extracts the string data from the underlying native object
private Value ( ) : byte[]
return byte[]
        byte[] Value()
        {
            IntPtr data;
            uint len;
            ActionArgumentGetValueBinary(iHandle, out data, out len);
            byte[] ret = new byte[len];
            Marshal.Copy(data, ret, 0, (int)len);
            OhNetFree(data);
            return ret;
        }
    }