Click or drag to resize
GuidConverter Class
A static class containing methods to convert to and from Guids and byte arrays in various byte orders.
Inheritance Hierarchy
SystemObject
  MongoDB.BsonGuidConverter

Namespace: MongoDB.Bson
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.1.0
Syntax
public static class GuidConverter

The GuidConverter type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFromBytes
Converts a byte array to a Guid.
Public methodStatic memberToBytes
Converts a Guid to a byte array.
Top
See Also