DotMSN |

# MSNMessage.GetBytes Method

Returns the command message as a byte array. This can be directly send over a networkconnection. Remember to set the transaction ID before calling this method. Uses UTF8 Encoding.

[Visual Basic]
Overrides Public Function GetBytes() As Byte()
[C#]
public override byte[] GetBytes();

#### Return Value

#### See Also

MSNMessage Class | XihSolutions.DotMSN.Core Namespace