BigDipper release (7.0)
Tested on
- openSUSE 11.4 x86,
- Windows Vista SP2 x86,
- Windows 8 Developer Preview x86.
- SharpSnmpLib.Controls.dll is removed. Its components are moved to SharpSnmpLib.dll.
- Asynchronous support is added to ISnmpMessage derived classes.
- Compiler core is enhanced.
Core assemblies changes from 6.1.1:
Although in this release we only performed cleanup, a lot of the corners are touched heavily.
New Public Types
This query return a lot, but in fact only several new types are added to enhance the MIB compiler, such as
MaxAccess
Status
and some extension classes to define extension methods which simplifies the code base a lot, such asSnmpDataExtension
StreamExtension
AuthenticationProviderExtension
EndPointExtension
Most of classes returned from this query are in fact moved from old places to new ones, such as
ITypeAssignment
moved from .MibLevels
moved from .Security
Changed Interfaces (Breaking)
The following interfaces are changed,
- ISnmpData
1, IDefinition - IModule
- IObjectRegistry
- IObjectTree
- ISnmpMessage
- IAuthenticationProvider
Obsolete and Deleted Classes (Breaking)
- GetResponseMessage under .Messaging.(Resolution: Use ResponseMessage.)
- GetResponsePdu. (Resolution: Use ResponsePdu.)
- Integer64. (Resolution: not needed by #SNMP any more. If need it, use the old class from a previous release.)
- Integer under .Mib
Removed Methods (Breaking)
- ByteTool.ToBytes(ISnmpData) (Resolution: ToBytes is now an extension method in SnmpDataExtension class.)
- ISnmpData.ToBytes() (Resolution: ToBytes is now an extension method in SnmpDataExtension class.)
- All ISnmpData derived classes have ToBytes method. (Resolution: ToBytes is now an extension method in SnmpDataExtension class.)
- Header.Header(Integer32, Integer32, OctetString, Integer32) (Resolution: Use other constructors.)
- MalformedPdu.Instance (Resolution: Construct objects instead of using this default one.)
- SearchResult.GetStringOf(ObjectIdentifier, IObjectRegistry) (Resolution: Use 1. 1. ObjectIdentifier.ToString(IObjectRegistry).)
- OctetString.ToDateString() (Resolution: Use GetRaw() to get the raw bytes and then parse on your own.)
- Sequence.ctor(IEnumerable) (Resolution: Use other constructors.)
- Sequence.Count (Resolution: Use Sequence.Length.)
- ISnmpMessage.Pdu, RequestId, MessageId. (Resolution: Moved to SnmpMessageExtension as extension methods.)
- All ISnmpMessage derived classes Variables, RequestId, Pdu, MessageId, Community, GetResponse(*). (Resolution: Moved to SnmpMessageExtension as extension methods.)
- SnmpMessageExtension.GetSocket(EndPoint) (Resolution: Moved to EndPointExtension as extension method.)
- InformRequestMessage.GenerateResponse() (Resolution: Use the pipeline.)
- TrapV1Message.Send(*) (Resolution: Moved to SnmpMessageExtension as extension method.)
- TrapV2Message.Send(*) (Resolution: Moved to SnmpMessageExtension as extension method.)
- IAuthenticationProvider.ComputeHash, VerifyHash. (Resolution: Moved to AuthenticationProviderExtension class as extension methods.)
- One of User constructor. (Resolution: Use the remaining constructor.)
Obsolete Methods (Breaking)
Some constructors of GetNextRequestPdu, GetRequestPdu, SetRequestPdu. (Resolution: Use the other constructors.)