Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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;
 }
Exemplo n.º 4
0
 public Asn1TypeAttribute(Asn1Tag asn1Tag, ConstructType constructType, Asn1Class asn1Class)
 {
     this.tagInfo = new Asn1TagInfo(asn1Tag, constructType, asn1Class);
 }
Exemplo n.º 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;
 }
Exemplo n.º 6
0
 public Asn1TypeAttribute(Asn1SnmpTag asn1SnmpTag)
 {
     this.tagInfo = new Asn1TagInfo(asn1SnmpTag);
 }
Exemplo n.º 7
0
 public Asn1TypeAttribute(Asn1SnmpTag asn1SnmpTag, ConstructType constructType)
 {
     this.tagInfo = new Asn1TagInfo(asn1SnmpTag, constructType);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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;
 }
Exemplo n.º 10
0
 public Asn1TypeAttribute(Asn1Tag asn1Tag, ConstructType constructType, Asn1Class asn1Class)
 {
     this.tagInfo = new Asn1TagInfo(asn1Tag, constructType, asn1Class);
 }
Exemplo n.º 11
0
 public Asn1TypeAttribute(Asn1SnmpTag asn1SnmpTag, ConstructType constructType)
 {
     this.tagInfo = new Asn1TagInfo(asn1SnmpTag, constructType);
 }
Exemplo n.º 12
0
 public Asn1TypeAttribute(Asn1SnmpTag asn1SnmpTag)
 {
     this.tagInfo = new Asn1TagInfo(asn1SnmpTag);
 }