The PieceSize property is a long. It appears to me that, by specification, it should always fit into an unsigned 32bit integer, i.e. an uint. It's a minor thing but worth considering maybe.