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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
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 memberGetSubType
Gets the sub type that corresponds to the guidRepresentation.
Public methodStatic memberToBytes
Converts a Guid to a byte array.
Top
See Also