insight/src/Core/Insight.Domain/Messages/Agent/Authentication.cs
2023-09-21 22:10:55 +02:00

29 lines
No EOL
580 B
C#

using MemoryPack;
namespace Insight.Domain.Messages.Agent;
[MemoryPackable]
public partial class Authentication : IMessage
{
[MemoryPackOrder(0)]
public PlatformType? Platform { get; set; }
[MemoryPackOrder(1)]
public Guid Serial { get; set; }
[MemoryPackOrder(2)]
public Version? Version { get; set; }
[MemoryPackOrder(3)]
public string? Hostname { get; set; }
public enum PlatformType
{
Unknown = 0,
Windows = 1,
Unix = 2
}
}
[MemoryPackable]
public partial class AuthenticationRequest : IMessage { }