public void TestNtlmType1MessageEncode () { var type1 = new Type1Message ("Workstation", "Domain") { OSVersion = new Version (5, 0, 2195) }; var encoded = type1.Encode (); string actual, expected; expected = HexEncode (NtlmType1EncodedMessage); actual = HexEncode (encoded); Assert.AreEqual (expected, actual, "The encoded Type1Message did not match the expected result."); }