refactor (networking)
This commit is contained in:
parent
febc4d9488
commit
450a6f2796
153 changed files with 7834 additions and 8004 deletions
29
src/Core/Insight.Domain/Messages/Agent/Authentication.cs
Normal file
29
src/Core/Insight.Domain/Messages/Agent/Authentication.cs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
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 { }
|
||||
Loading…
Add table
Add a link
Reference in a new issue