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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
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