Table of Contents

Class GuidConverter

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

A static class containing methods to convert to and from Guids and byte arrays in various byte orders.

public static class GuidConverter
Inheritance
GuidConverter
Inherited Members

Methods

FromBytes(byte[], GuidRepresentation)

Converts a byte array to a Guid.

GetSubType(GuidRepresentation)

Gets the sub type that corresponds to the guidRepresentation.

ToBytes(Guid, GuidRepresentation)

Converts a Guid to a byte array.