/// <summary> /// Initializes a new instance of the <see cref="VarBind"/> struct with value null and Asn1.Null type. /// </summary> /// <param name="oid">The oid.</param> public VarBind(ObjectIdentifier oid) { this.Oid = oid; this.Value = null; this.Asn1TypeInfo = new Asn1TagInfo(Asn1Tag.Null); }
/// <summary> /// Initializes a new instance of the <see cref="VarBind" /> struct. /// </summary> /// <param name="oid">The oid.</param> /// <param name="value">The value.</param> /// <param name="asn1TypeInfo">The asn1 type information.</param> public VarBind(ObjectIdentifier oid, object value, Asn1TagInfo asn1TypeInfo) { this.Oid = oid; this.Value = value; this.Asn1TypeInfo = asn1TypeInfo; }
public Asn1TypeAttribute(Asn1Tag asn1Tag, ConstructType constructType, Asn1Class asn1Class) { this.tagInfo = new Asn1TagInfo(asn1Tag, constructType, asn1Class); }
public Asn1TypeAttribute(Asn1SnmpTag asn1SnmpTag) { this.tagInfo = new Asn1TagInfo(asn1SnmpTag); }
public Asn1TypeAttribute(Asn1SnmpTag asn1SnmpTag, ConstructType constructType) { this.tagInfo = new Asn1TagInfo(asn1SnmpTag, constructType); }
/// <summary> /// Initializes a new instance of the <see cref="VarBind"/> struct with value null and Asn1.Null type. /// </summary> /// <param name="oid">The oid.</param> public VarBind(ObjectIdentifier oid) { Oid = oid; Value = null; Asn1TypeInfo = new Asn1TagInfo(Asn1Tag.Null); }
/// <summary> /// Initializes a new instance of the <see cref="VarBind" /> struct. /// </summary> /// <param name="oid">The oid.</param> /// <param name="value">The value.</param> /// <param name="asn1TypeInfo">The asn1 type information.</param> public VarBind(ObjectIdentifier oid, object value, Asn1TagInfo asn1TypeInfo) { Oid = oid; Value = value; Asn1TypeInfo = asn1TypeInfo; }