title: Mongo C# Driver with ObjectId
body: <p>I'm having troubles with converting the <code>Guid</code> into <code>BinData</code>. I know that you can just map the property with <code>BsonIdAttribute</code>, but in my case I actually need to write the query in JSON format with filter clause for my <code>Guid</code> identifier.</p>
  
  <p>Like:</p>
  
  <pre><code>mongoClient.UpdateMany(
      new JsonFilterDefinition&lt;UserUnreadCounter&gt;($"{{ \"Counters.EntityId\": {{ $eq: '{myGuid.ConvertToBinData()}' }} }}"),
      new JsonUpdateDefinition&lt;UserUnreadCounter&gt;("{ $inc: { \"Counters.$.Count\": 1 } }"));
  </code></pre>
  
  <p>How can I convert it? Does it just crop the first 24 symbols of hex representation of the <code>Guid</code>?</p>