Gets or sets the reference count. If you want to keep a packet around that you are giving to ENet, increment this. When you are finished with it, decrement this and call Dispose().
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | The value may not be negative. |
InvalidOperationException | The packet is not initialized. |