DotMSN |

# P2PMessage.GetInnerBytes Method

Returns the inner message as a byte array.

[Visual Basic]
Overridable Protected Function GetInnerBytes() As Byte()
[C#]
protected virtual byte[] GetInnerBytes();

#### Return Value

#### Remarks

If the inner message is set the GetBytes() method is called upon that inner message. If there is no inner message set, but the InnerBody property contains data then that data is returned.

#### See Also

P2PMessage Class | XihSolutions.DotMSN.DataTransfer Namespace