C# 클래스 SnmpSharpNet.SnmpConstants

SNMP SMI version 1, version 2c and version 3 constants.
파일 보기 프로젝트 열기: griffina/SnmpSharpNet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SMI_APPSTRING byte
SMI_APPSTRING_STR string
SMI_COUNTER32 byte
SMI_COUNTER32_STR string
SMI_COUNTER64 byte
SMI_COUNTER64_STR string
SMI_ENDOFMIBVIEW byte
SMI_GAUGE32 byte
SMI_GAUGE32_STR string
SMI_INTEGER byte
SMI_INTEGER_STR string
SMI_IPADDRESS byte
SMI_IPADDRESS_STR string
SMI_NOSUCHINSTANCE byte
SMI_NOSUCHOBJECT byte
SMI_NULL byte
SMI_NULL_STR string
SMI_OBJECTID byte
SMI_OBJECTID_STR string
SMI_OPAQUE byte
SMI_OPAQUE_STR string
SMI_PARTY_CLOCK byte
SMI_SEQUENCE byte
SMI_STRING byte
SMI_STRING_STR string
SMI_TIMETICKS byte
SMI_TIMETICKS_STR string
SMI_UNKNOWN_STR string
SMI_UNSIGNED32 byte
SMI_UNSIGNED32_STR string
SysUpTime Oid
TrapObjectId Oid
snmpInvalidMsgs Oid
snmpUnknownPDUHandlers Oid
snmpUnknownSecurityModels Oid
usmStatsDecryptionErrors Oid
usmStatsNotInTimeWindows Oid
usmStatsUnknownEngineIDs Oid
usmStatsUnknownSecurityNames Oid
usmStatsUnsupportedSecLevels Oid
usmStatsWrongDigests Oid
v3ErrorOids Oid[]

공개 메소드들

메소드 설명
DumpHex ( byte data ) : void

Debugging function used to dump on the console supplied byte array in a format suitable for console output.

GetSyntaxObject ( byte asnType ) : AsnType

Used to create correct variable type object for the specified encoded type

GetSyntaxObject ( string name ) : AsnType

Return SNMP type object of the type specified by name. Supported variable types are: * Integer32 * Counter32 * Gauge32 * Counter64 * TimeTicks * OctetString * IpAddress * Oid * Null

GetTypeName ( byte type ) : string

Return string representation of the SMI value type.

IsValidVersion ( int version ) : bool

Check if SNMP version value is correct

비공개 메소드들

메소드 설명
SnmpConstants ( ) : System

Private constructor to prevent the class with all static members from being instantiated.

메소드 상세

DumpHex() 공개 정적인 메소드

Debugging function used to dump on the console supplied byte array in a format suitable for console output.
public static DumpHex ( byte data ) : void
data byte Byte array data
리턴 void

GetSyntaxObject() 공개 정적인 메소드

Used to create correct variable type object for the specified encoded type
public static GetSyntaxObject ( byte asnType ) : AsnType
asnType byte ASN.1 type code
리턴 AsnType

GetSyntaxObject() 공개 정적인 메소드

Return SNMP type object of the type specified by name. Supported variable types are: * Integer32 * Counter32 * Gauge32 * Counter64 * TimeTicks * OctetString * IpAddress * Oid * Null
public static GetSyntaxObject ( string name ) : AsnType
name string Name of the object type
리턴 AsnType

GetTypeName() 공개 정적인 메소드

Return string representation of the SMI value type.
public static GetTypeName ( byte type ) : string
type byte AsnType class Type member function value.
리턴 string

IsValidVersion() 공개 정적인 메소드

Check if SNMP version value is correct
public static IsValidVersion ( int version ) : bool
version int SNMP version value
리턴 bool

프로퍼티 상세

SMI_APPSTRING 공개적으로 정적으로 프로퍼티

An application string is a sequence of octets defined at the application level. Although the SMI does not define an Application String, it does define an IP Address which is an Application String of length four.
public static byte SMI_APPSTRING
리턴 byte

SMI_APPSTRING_STR 공개적으로 정적으로 프로퍼티

String representation of the SMI_APPSTRING type.
public static string SMI_APPSTRING_STR
리턴 string

SMI_COUNTER32 공개적으로 정적으로 프로퍼티

A non-negative integer that may be incremented, but not decremented. The value is a 32-bit unsigned quantity representing the range of zero to 2^32-1 (4,294,967,295). When the counter reaches its maximum value it wraps back to zero and starts again.
public static byte SMI_COUNTER32
리턴 byte

SMI_COUNTER32_STR 공개적으로 정적으로 프로퍼티

String representation of the SMI_COUNTER32 type.
public static string SMI_COUNTER32_STR
리턴 string

SMI_COUNTER64 공개적으로 정적으로 프로퍼티

Defines a 64-bit unsigned counter. A counter is an integer that can be incremented, but cannot be decremented. A maximum value of 2^64 - 1 (18,446,744,073,709,551,615) can be represented. When the counter reaches it's maximum it wraps back to zero and starts again.
public static byte SMI_COUNTER64
리턴 byte

SMI_COUNTER64_STR 공개적으로 정적으로 프로퍼티

String representation of the SMI_COUNTER64 type.
public static string SMI_COUNTER64_STR
리턴 string

SMI_ENDOFMIBVIEW 공개적으로 정적으로 프로퍼티

The SNMPv2 error representing the End-Of-Mib-View. This error variable will be returned by a SNMPv2 agent if the requested object identifier has reached the end of the agent's mib table and there is no lexicographic successor.
public static byte SMI_ENDOFMIBVIEW
리턴 byte

SMI_GAUGE32 공개적으로 정적으로 프로퍼티

Represents a non-negative integer that may increase or decrease with a maximum value of 2^32-1. If the maximum value is reached the gauge stays latched until reset.
public static byte SMI_GAUGE32
리턴 byte

SMI_GAUGE32_STR 공개적으로 정적으로 프로퍼티

String representation of the SMI_GAUGE32 type.
public static string SMI_GAUGE32_STR
리턴 string

SMI_INTEGER 공개적으로 정적으로 프로퍼티

Signed 32-bit integer ASN.1 data type. For implementation, see Integer32
public static byte SMI_INTEGER
리턴 byte

SMI_INTEGER_STR 공개적으로 정적으로 프로퍼티

String representation of the AsnType.INTEGER type.
public static string SMI_INTEGER_STR
리턴 string

SMI_IPADDRESS 공개적으로 정적으로 프로퍼티

An IP Address is an application string of length four and is indistinguishable from the SMI_APPSTRING value. The address is a 32-bit quantity stored in network byte order.
public static byte SMI_IPADDRESS
리턴 byte

SMI_IPADDRESS_STR 공개적으로 정적으로 프로퍼티

String representation of the SMI_IPADDRESS type.
public static string SMI_IPADDRESS_STR
리턴 string

SMI_NOSUCHINSTANCE 공개적으로 정적으로 프로퍼티

The SNMPv2 error representing that there is No-Such-Instance for a particular object identifier. This error is the result of a requested object identifier instance does not exist in the agent's tables.
public static byte SMI_NOSUCHINSTANCE
리턴 byte

SMI_NOSUCHOBJECT 공개적으로 정적으로 프로퍼티

The SNMPv2 error representing that there is No-Such-Object for a particular object identifier. This error is the result of a requested object identifier that does not exist in the agent's tables
public static byte SMI_NOSUCHOBJECT
리턴 byte

SMI_NULL 공개적으로 정적으로 프로퍼티

Null ASN.1 value type. For implementation, see Null.
public static byte SMI_NULL
리턴 byte

SMI_NULL_STR 공개적으로 정적으로 프로퍼티

String representation of the SMI_NULL type.
public static string SMI_NULL_STR
리턴 string

SMI_OBJECTID 공개적으로 정적으로 프로퍼티

Object id ASN.1 type. For implementation, see Oid
public static byte SMI_OBJECTID
리턴 byte

SMI_OBJECTID_STR 공개적으로 정적으로 프로퍼티

String representation of the SMI_OBJECTID type.
public static string SMI_OBJECTID_STR
리턴 string

SMI_OPAQUE 공개적으로 정적으로 프로퍼티

Used to support the transport of arbitrary data. The data itself is encoded as an octet string, but may be in any format defined by ASN.1 or another standard.
public static byte SMI_OPAQUE
리턴 byte

SMI_OPAQUE_STR 공개적으로 정적으로 프로퍼티

String representation of the SMI_OPAQUE type.
public static string SMI_OPAQUE_STR
리턴 string

SMI_PARTY_CLOCK 공개적으로 정적으로 프로퍼티

Defines an SNMPv2 Party Clock. The Party Clock is currently Obsolete, but included for backwards compatibility. Obsoleted in RFC 1902.
public static byte SMI_PARTY_CLOCK
리턴 byte

SMI_SEQUENCE 공개적으로 정적으로 프로퍼티

SEQUENCE Variable Binding code. Hex value: 0x30
public static byte SMI_SEQUENCE
리턴 byte

SMI_STRING 공개적으로 정적으로 프로퍼티

Data type representing a sequence of zero or more 8-bit byte values. For implementation, see OctetString
public static byte SMI_STRING
리턴 byte

SMI_STRING_STR 공개적으로 정적으로 프로퍼티

String representation of the AsnType.OCTETSTRING type.
public static string SMI_STRING_STR
리턴 string

SMI_TIMETICKS 공개적으로 정적으로 프로퍼티

This represents a non-negative integer that counts time, modulo 2^32. The time is represented in hundredths (1/100th) of a second.
public static byte SMI_TIMETICKS
리턴 byte

SMI_TIMETICKS_STR 공개적으로 정적으로 프로퍼티

String representation of the SMI_TIMETICKS type.
public static string SMI_TIMETICKS_STR
리턴 string

SMI_UNKNOWN_STR 공개적으로 정적으로 프로퍼티

String representation of the unknown SMI data type.
public static string SMI_UNKNOWN_STR
리턴 string

SMI_UNSIGNED32 공개적으로 정적으로 프로퍼티

Used to represent the integers in the range of 0 to 2^32-1. This type is identical to the SMI_COUNTER32 and are indistinguishable in ASN.1
public static byte SMI_UNSIGNED32
리턴 byte

SMI_UNSIGNED32_STR 공개적으로 정적으로 프로퍼티

String representation of the SMI_UNSIGNED32 type.
public static string SMI_UNSIGNED32_STR
리턴 string

SysUpTime 공개적으로 정적으로 프로퍼티

sysUpTime.0 OID is the first value in the VarBind array of SNMP version 2 TRAP packets
public static Oid SysUpTime
리턴 Oid

TrapObjectId 공개적으로 정적으로 프로퍼티

trapObjectID.0 OID is the second value in the VarBind array of SNMP version 2 TRAP packets
public static Oid TrapObjectId
리턴 Oid

snmpInvalidMsgs 공개적으로 정적으로 프로퍼티

SNMP version 3, USM error
public static Oid snmpInvalidMsgs
리턴 Oid

snmpUnknownPDUHandlers 공개적으로 정적으로 프로퍼티

SNMP version 3, USM error
public static Oid snmpUnknownPDUHandlers
리턴 Oid

snmpUnknownSecurityModels 공개적으로 정적으로 프로퍼티

SNMP version 3, USM error
public static Oid snmpUnknownSecurityModels
리턴 Oid

usmStatsDecryptionErrors 공개적으로 정적으로 프로퍼티

SNMP version 3, USM error
public static Oid usmStatsDecryptionErrors
리턴 Oid

usmStatsNotInTimeWindows 공개적으로 정적으로 프로퍼티

SNMP version 3, USM error
public static Oid usmStatsNotInTimeWindows
리턴 Oid

usmStatsUnknownEngineIDs 공개적으로 정적으로 프로퍼티

SNMP version 3, USM error
public static Oid usmStatsUnknownEngineIDs
리턴 Oid

usmStatsUnknownSecurityNames 공개적으로 정적으로 프로퍼티

SNMP version 3, USM error
public static Oid usmStatsUnknownSecurityNames
리턴 Oid

usmStatsUnsupportedSecLevels 공개적으로 정적으로 프로퍼티

SNMP version 3, USM error
public static Oid usmStatsUnsupportedSecLevels
리턴 Oid

usmStatsWrongDigests 공개적으로 정적으로 프로퍼티

SNMP version 3, USM error
public static Oid usmStatsWrongDigests
리턴 Oid

v3ErrorOids 공개적으로 정적으로 프로퍼티

Array of all SNMP version 3 REPORT packet error OIDs
public static Oid[] v3ErrorOids
리턴 Oid[]