BsonObjectId public class BsonObjectId Represents a BSON Oid (object id). Documentation Code public byte[] Value { get; } Gets or sets the value of the Oid. public BsonObjectId(byte[] value) Initializes a new instance of the BsonObjectId class.