PowerSNMP for .NET CF
Security Constructor
See Also  Send comments on this topic.
Dart.Snmp Namespace > Security Class : Security Constructor




Initializes a new instance of the Security class.

Syntax

Visual Basic (Declaration) 
Public Function New()
Visual Basic (Usage)Copy Code
Dim instance As New Security()
C# 
public Security()
Managed Extensions for C++ 
public: Security();
C++/CLI 
public:
Security();

Remarks

The Security class is used with Version 3 messages to provide message authentication and privacy. The Security object is not used or added to a message unless MessageBase.Version is SnmpVersion.Three. If a message to be sent is a Version 3 message, at a minimum you must set Username to a valid user name for the Agent you are sending requests to.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.