Exemple #1
0
 /// <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);
 }
Exemple #2
0
 /// <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);
 }
Exemple #3
0
 /// <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);
 }
Exemple #5
0
 /// <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(Asn1SnmpTag asn1SnmpTag)
 {
     this.tagInfo = new Asn1TagInfo(asn1SnmpTag);
 }
 public Asn1TypeAttribute(Asn1SnmpTag asn1SnmpTag, ConstructType constructType)
 {
     this.tagInfo = new Asn1TagInfo(asn1SnmpTag, constructType);
 }
Exemple #8
0
 /// <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);
 }
Exemple #9
0
 /// <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;
 }
Exemple #10
0
 public Asn1TypeAttribute(Asn1Tag asn1Tag, ConstructType constructType, Asn1Class asn1Class)
 {
     this.tagInfo = new Asn1TagInfo(asn1Tag, constructType, asn1Class);
 }
Exemple #11
0
 public Asn1TypeAttribute(Asn1SnmpTag asn1SnmpTag, ConstructType constructType)
 {
     this.tagInfo = new Asn1TagInfo(asn1SnmpTag, constructType);
 }
Exemple #12
0
 public Asn1TypeAttribute(Asn1SnmpTag asn1SnmpTag)
 {
     this.tagInfo = new Asn1TagInfo(asn1SnmpTag);
 }