Re: [libsecondlife-dev] Question regarding the AgentName variable for OnInstantMessage()

2006-07-06 Thread John Hurliman
Any variable length fields in the packets are stored as byte arrays (byte[]). If you try and do a .ToString() on a byte array you won't get anything interesting, what you want is something like this: byte[] byteArray = (byte[])field.Data; // Variable length fields are byte arrays string output

[libsecondlife-dev] Question regarding the AgentName variable for OnInstantMessage()

2006-07-06 Thread Alondria LeFay
Hello all. Forgive me if this is something obvious – I was a bit forced by this project to take the “crash course” in C#. As far as the OnInstantMessage() event, I would assume AgentName should return the name of the AV that sent the message however it always is blank. Am I missing someth