OpenHome.Net.ControlPoint.ArgumentBinary.Value C# (CSharp) Méthode

Value() private méthode

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[]
Résultat 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;
        }
    }