DotMSN |

# NotificationMessage.GetBytes Method

Returns the command message as a byte array. This can be directly send over a networkconnection.

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

#### Return Value

#### Remarks

Remember to set the transaction ID before calling this method. Uses UTF8 Encoding.

#### See Also

NotificationMessage Class | XihSolutions.DotMSN.Core Namespace