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.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
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