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.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
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