This commit is contained in:
ahmed committed 2024-06-23 14:10:10 +03:00
1 parent c17191a7bf
commit 450ed5f905
9 files changed
+105 -46

No files matched your search

+4 -4
View File
@@ -127,12 +127,12 @@ namespace Test
}
static AsyncReply<object> Authenticator(Map<IIPAuthPacketIAuthHeader, object> x)
// AuthorizationRequest, AsyncReply<object>
static AsyncReply<object> Authenticator(AuthorizationRequest x)
{
Console.WriteLine($"Authenticator: {x[IIPAuthPacketIAuthHeader.Clue]}");
Console.WriteLine($"Authenticator: {x.Clue}");
var format = (IIPAuthPacketIAuthFormat)x[IIPAuthPacketIAuthHeader.RequiredFormat];
var format = x.RequiredFormat;
if (format == IIPAuthPacketIAuthFormat.Number)
return new AsyncReply<object>(Convert.ToInt32(Console.ReadLine()));