// /** // * File: V3Packet.cs // * Author: haraldwolff // * // * This file and it's content is copyrighted by the Author and / or copyright holder. // * Any use wihtout proper permission is illegal and may lead to legal actions. // * // * // **/ using System; using System.Runtime.Remoting.Messaging; namespace ln.snmp.types { public class V3Packet : AbstractSequence { public Integer msgVersion { get; } public Sequence msgGlobalData { get; } public Integer msgID { get; } public Integer msgMaxSize { get; } public OctetString msgFlags { get; } public Integer msgSecurityModel { get; } public V3Packet() :base(new Identifier(IdentifierClass.UNIVERSAL,true,0x10)) { msgVersion = new Integer(3); msgGlobalData = new Sequence(); msgID = new Integer(DateTimeOffset.Now.ToUnixTimeSeconds()); msgMaxSize = new Integer(65000); msgSecurityModel = new Integer(3); } public override Variable[] Items { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } public override void Add(Variable item) { throw new NotImplementedException(); } public override void Remove(Variable item) { throw new NotImplementedException(); } } }