public void ToGuidTest() { BITS.GUID bitsGuid = MakeGuid(0xF0000001, 0xF002, 0xF003); Guid dotNetGuid = bitsGuid.ToGuid(); string text = dotNetGuid.ToString(); Assert.AreEqual("f0000001-f002-f003-0001-020304050607", text); }
public static bool GuidEquals(this BITS.GUID a, BITS.GUID b) { var areEquals = a.ToGuid().Equals(b.ToGuid()); return(areEquals); }