Hi experts,
I need to process the bytes[] when i get from external application. The external application is also done in c# and they send the bytes thru UDP. They are sending the bytes converted from struct which is stated below :
public struct DISPATCH_MESSAGE
{
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)]
public char[] federation_name; // Units: nil Range: nil
}
So, when i get the bytes, i need to take out the char[] inside that, and get the string out of that char[].
I hope my explanation is clear. i am new to this kind of unmanaged coding. Please help me on this. Its urgent. Thanks.