public byte[] GetSignature()
{
int hr;
byte[] Data;
COMException Exception;
int cData;
hr = SymVariable_GetSignature(m_Variable, 0, out cData, null);
if (hr < 0)
{
Exception = new COMException("Call to GetSignature failed.", hr);
throw Exception;
}
Data = new byte[cData];
hr = SymVariable_GetSignature(m_Variable, cData, out cData, Data);
if (hr < 0)
{
Exception = new COMException("Call to GetSignature failed.", hr);
throw Exception;
}
return Data;
}
}